Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pagination ¶
type Pagination struct { From int `json:"from"` To int `json:"to"` Total int64 `json:"total"` Data any `json:"data"` PerPage int `json:"per_page"` CurrentPage int `json:"current_page"` Offset int `json:"-"` PrevPage *int `json:"prev_page"` NextPage *int `json:"next_page"` LastPage int `json:"last_page"` }
func Paginate ¶
func Paginate[T any](p Param) Pagination
Click to show internal directories.
Click to hide internal directories.