Documentation ¶
Index ¶
- Constants
- func ConvertPageAndPageSizeToOffset(pageSize, page int) int
- func ConvertPageSizeAndOrderedColumnToSQL(pageSize, page int, orderedColumn string) (string, error)
- func ExtractPaginationConfigFromRequest(req *http.Request, maxPage int) (int, int, error)
- func ValidatePageParameters(pageSize, page int) error
Constants ¶
View Source
const ( PageSizeParam = "page_size" PageParam = "page" )
Variables ¶
This section is empty.
Functions ¶
func ValidatePageParameters ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.