Documentation ¶
Index ¶
- Constants
- func CheckJSON(context *gin.Context, form any) bool
- func CommonResponse(context *gin.Context, res interface{}, er *error.Error)
- func List(context *gin.Context, qs *gorm.DB) (*gorm.DB, int64, int, int)
- func ListResponse(context *gin.Context, data interface{}, total int64, page int, size int)
- type PageNumberPagination
Constants ¶
View Source
const DefaultSize int = 20
View Source
const MaxSize int = 100
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PageNumberPagination ¶
Click to show internal directories.
Click to hide internal directories.