Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginationRequest ¶
func NewRequest ¶
func NewRequest(page, pageSize int32) PaginationRequest
func (*PaginationRequest) ApplyToSelect ¶
func (pr *PaginationRequest) ApplyToSelect(sb *squirrel.SelectBuilder) *squirrel.SelectBuilder
func (*PaginationRequest) CalculatePages ¶
func (pr *PaginationRequest) CalculatePages(count int) int32
func (*PaginationRequest) Offset ¶
func (pr *PaginationRequest) Offset() uint64
Click to show internal directories.
Click to hide internal directories.