Documentation ¶
Overview ¶
对 gorm 的拓展
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageParam ¶
type PageParam struct { // 当前页码 Page int `json:"page" form:"page"` // 每页条数 Size int `json:"size" form:"size"` }
分页参数
type PageResult ¶
type PageResult struct { Total int64 `json:"total"` List interface{} `json:"list"` }
分页结果
Click to show internal directories.
Click to hide internal directories.