Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page[T any, INT Integer] struct { PageNo INT `json:"pageNo"` // 若序列化时想要使用其他的命名风格,建议使用 github.com/json-iterator/go 库中的 extra.SetNamingStrategy() 函数注册自定义命名策略。 PageSize INT `json:"pageSize"` TotalPages INT `json:"totalPages"` TotalRecords INT `json:"totalRecords"` Records []T `json:"records"` }
Page 分页结构定义
Click to show internal directories.
Click to hide internal directories.