Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageHelp ¶
func PageHelp(data []interface{}, page, size interface{}) (result []interface{}, count int64, err error)
PageHelp 手动分页助手 @Param data 待分页数据 @Param page 页码 @Param size 条数 @Return result 分页数据 @Return count 数据总条数
func PageNumber ¶
PageNumber 解析分页页号 @Param page 当前切换到的页号 @Param size 分页大小 @Return limit 返回分页limit参数 @Return offset 返回分页offset参数
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.