Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPerPage = 20
DefaultPerPage ...
View Source
var MaxPerPage = 100
MaxPerPage ...
Functions ¶
Types ¶
type Pagination ¶ added in v0.0.3
type Pagination struct { Count int `json:"item_count"` Max int `json:"max"` Page int `json:"page"` PerPage int Offset int Url url.URL }
var Data Pagination
Data pagination data for jsonapi
func (*Pagination) Links ¶ added in v0.0.3
func (p *Pagination) Links() map[string]string
Click to show internal directories.
Click to hide internal directories.