Documentation ¶
Overview ¶
paging package contains common pagination structures and functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { IsFirst bool `json:"is_first"` IsLast bool `json:"is_last"` HasNext bool `json:"has_next"` HasPrevious bool `json:"has_previous"` Page uint64 `json:"page"` Total uint64 `json:"total"` }
Metadata is a struct that represents a Metadata in both database and HTTP APIs
Click to show internal directories.
Click to hide internal directories.