Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxPaginationLimit = 1000 DefaultPaginationLimit = MaxPaginationLimit DefaultPaginationOffset = 0 SortDirectionAsc = "asc" SortDirectionDesc = "desc" )
View Source
const ( KLimit = "limit" KOffset = "offset" KSort = "sort" )
Variables ¶
This section is empty.
Functions ¶
func GetPaginationParam ¶
func GetSortParam ¶
An example of sort key parameter will be like this: sort=key1:asc,key2:desc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.