linuxea·Jan 20, 2022We can reduce the amount of struct by using higher function like this:func pageFun(page, limit uint) func(*gorm.DB) *gorm.DB {A response icon1A response icon1