Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultItemsLimit = 50
DefaultItemsLimit per page limit
View Source
var SeparatorOrder = ","
SeparatorOrder
Functions ¶
Types ¶
type Collection ¶
Collection response answer
type Form ¶ added in v1.7.4
type Form struct { Order string `query:"order" form:"order" json:"order"` Offset json.Number `query:"offset" form:"offset" json:"offset" validate:"omitempty,numeric"` Limit json.Number `query:"limit" form:"limit" json:"limit" validate:"omitempty,numeric"` }
Form is part of filter structure
func (*Form) ApplyFilter ¶ added in v1.7.4
ApplyFilter your filters to a Query
func (*Form) ApplyPager ¶ added in v1.7.4
ApplyPager
func (*Form) ApplySorter ¶ added in v1.7.4
ApplySorter your sorter to a Query
Click to show internal directories.
Click to hide internal directories.