Documentation
¶
Index ¶
- type Paginator
- func (p *Paginator) Nums() int
- func (p *Paginator) Offset() int
- func (p *Paginator) Page() int
- func (p *Paginator) PageTotal() int
- func (p *Paginator) PerPageNums() int
- func (p *Paginator) Result() map[string]interface{}
- func (p *Paginator) SetNums(nums int)
- func (p *Paginator) SetPage(page int)
- func (p *Paginator) SetPageTotal(per, total int)
- func (p *Paginator) SetPerPageNums(perPageNums int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Paginator ¶
type Paginator struct {
// contains filtered or unexported fields
}
func NewPaginator ¶
func (*Paginator) PerPageNums ¶
func (*Paginator) SetPageTotal ¶
func (*Paginator) SetPerPageNums ¶
Click to show internal directories.
Click to hide internal directories.