Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pagination ¶
type Pagination struct { Page int `json:"page"` Limit int `json:"limit"` Total int64 `json:"total"` Items interface{} `json:"items"` }
func PageStructure ¶
func PageStructure(page int, limit int, total int64, items interface{}) *Pagination
PageStructure 构建分页数据结构 **/
Click to show internal directories.
Click to hide internal directories.