Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pagination ¶
type Pagination struct { PerPage int `json:"perPage" query:"perPage"` Page int `json:"page" query:"page"` TotalResults int64 `json:"totalResults"` TotalPages int `json:"totalPages"` Items interface{} `json:"items"` } // @Name Pagination
func (*Pagination) GetOffset ¶
func (p *Pagination) GetOffset() int
func (*Pagination) GetPage ¶
func (p *Pagination) GetPage() int
func (*Pagination) GetPageSize ¶
func (p *Pagination) GetPageSize() int
Click to show internal directories.
Click to hide internal directories.