Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pagination ¶
type Pagination struct {
Limit uint `json:"limit"`
HasNextPage bool `json:"has_next_page"`
HasPrevPage bool `json:"has_prev_page"`
Page uint `json:"page"`
NextPage uint `json:"next_page"`
PrevPage uint `json:"prev_page"`
TotalPages uint `json:"total_pages"`
TotalMatches uint `json:"total_matches"`
}
func GetPaginationResults ¶
take a *db as param with the where cause already applied
Click to show internal directories.
Click to hide internal directories.