package
Version:
v1.3.2-rc.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 31
Opens a new window with list of known importers.
Documentation
¶
-
func Custum(c *gin.Context, data gin.H)
-
func Error(c *gin.Context, code int, err error, msg string)
-
func OK(c *gin.Context, data interface{}, msg string)
-
func PageOK(c *gin.Context, result interface{}, count int, pageIndex int, pageSize int, ...)
-
type Page
-
type Response
type Page struct {
Count int `json:"count"`
PageIndex int `json:"pageIndex"`
PageSize int `json:"pageSize"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.