Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageQueryParam ¶
type PageQueryParam struct { PageNo int `form:"pageNo"` // 当前页码 PageSize int `form:"pageSize"` // 每页显示条数 }
func (*PageQueryParam) GetLimit ¶
func (thiz *PageQueryParam) GetLimit() int
func (*PageQueryParam) GetOffset ¶
func (thiz *PageQueryParam) GetOffset() int
func (*PageQueryParam) GetPageNo ¶
func (thiz *PageQueryParam) GetPageNo() int
func (*PageQueryParam) GetPageSize ¶
func (thiz *PageQueryParam) GetPageSize() int
type PageResult ¶
func NewPageResult ¶
func NewPageResult[T any](total int64, pageData []T) *PageResult[T]
Click to show internal directories.
Click to hide internal directories.