Documentation ¶
Index ¶
- func CalculateCurrentPage(page int64) int64
- func CalculateLimitOffset(page, elements int64) (offset, limit int64)
- func CalculateRemaining(total, page, elements int64) int64
- func CalculateTotal(limit, count int64) int64
- func HasAnyElements(page, elements, count int64) bool
- func ValidatePageElements(page, elements *int64) error
- type PageSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateCurrentPage ¶
func CalculateLimitOffset ¶
func CalculateRemaining ¶
func CalculateTotal ¶
func HasAnyElements ¶
func ValidatePageElements ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.