Documentation ¶
Overview ¶
Package page provides support for query paging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document[T any] struct { Items []T `json:"items"` Total int `json:"total"` Page int `json:"page"` RowsPerPage int `json:"rowsPerPage"` }
Document is the form used for API responses from query API calls.
func NewDocument ¶
NewDocument constructs a response value for a web paging trusted.
Click to show internal directories.
Click to hide internal directories.