Documentation ¶ Index ¶ type Pager Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Pager ¶ type Pager[T any] struct { Records []*T `json:"records"` // 响应数据 Total int64 `json:"total"` // 响应总记录数 Size int `json:"size"` // 请求每页记录数 Number int `json:"number"` // 请求页码 从1开始 } Source Files ¶ View all Source files type.go Directories ¶ Show internal Expand all Path Synopsis mongo rds Click to show internal directories. Click to hide internal directories.