Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { List interface{} `json:"list,omitempty"` Total int64 `json:"total,omitempty"` Page int64 `json:"page,omitempty"` Size int64 `json:"size,omitempty"` }
func NewPageData ¶
func NewPageData(list interface{}, page, size int, filterfn PageFilterFunc, sortfn PageSortFunc) Page
type PageFilterFunc ¶
type PageSortFunc ¶
Click to show internal directories.
Click to hide internal directories.