Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryParam ¶
type QueryParam struct { PageNo int64 `json:"pageNo"` PageSize int64 `json:"pageSize"` Query map[string]interface{} `json:"query"` Sortby string `json:"sortby"` Groupby []string `json:"groupby"` Relate string `json:"relate"` }
func (*QueryParam) Limit ¶
func (q *QueryParam) Limit() int64
func (*QueryParam) NewPage ¶
func (q *QueryParam) NewPage(count int64, list interface{}) *Page
func (*QueryParam) Offset ¶
func (q *QueryParam) Offset() int64
Click to show internal directories.
Click to hide internal directories.