Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pagination ¶
Pagination definition.
func (*Pagination) GetSortInt ¶
func (p *Pagination) GetSortInt() int
GetSortInt mapping to mongodb sort values.
func (*Pagination) SetLimit ¶
func (p *Pagination) SetLimit(limit int64) *Pagination
func (*Pagination) SetSkip ¶
func (p *Pagination) SetSkip(skip int64) *Pagination
func (*Pagination) SetSortOrder ¶
func (p *Pagination) SetSortOrder(sortOrder string) *Pagination
Click to show internal directories.
Click to hide internal directories.