Versions in this module Expand all Collapse all v0 v0.1.1 May 26, 2019 Changes in this version + func CheckPagination(p *Pagination) error + type Pagination struct + Limit int + Offset int + PageNumber int + PageSize int + Total int + UseTotal bool + func NewFromConfig(p *config.Pagination) *Pagination + func (p *Pagination) Check() error + func (p *Pagination) GetLimitOffset() (limit, offset int) + func (p *Pagination) SetType(tp Type) + func (p *Pagination) String() string + func (p *Pagination) Type() Type + type Parameter int + const ParamLimit + const ParamNumber + const ParamOffset + const ParamSize + type Type int + const TpCursor + const TpOffset + const TpPage + func (t Type) String() string