Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PageOption ¶
type PageOption struct { // page Page int `json:"page" uri:"page" form:"page" label:"field.page" example:"1"` // size of page Size int `json:"size" uri:"size" form:"size" label:"field.pagesize" example:"10"` // if is reverse order Desc bool `json:"desc" uri:"desc" form:"desc" example:"true"` }
func (PageOption) Validate ¶
func (p PageOption) Validate(lang string) error
Click to show internal directories.
Click to hide internal directories.