Documentation
¶
Index ¶
Constants ¶
View Source
const ContextKeyRequestID = "requestID"
ContextKeyRequestID must match the key used in middleware
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PageResult ¶
type PageResult struct {
List interface{} `json:"list"`
Total int `json:"total"`
Page int `json:"page"`
PageSize int `json:"page_size"`
}
PageResult standard structure for pagination
Click to show internal directories.
Click to hide internal directories.