Documentation
¶
Index ¶
- func GetPageIndex(c *gin.Context) int
- func GetPageNum(c *gin.Context) int
- func GetPageSize(c *gin.Context) int
- func GetToken(c *gin.Context) string
- func ResError(c *gin.Context, err error, status ...int)
- func ResJSON(c *gin.Context, status int, v interface{})
- func ResOK(c *gin.Context)
- func ResPage(c *gin.Context, v *dto.ResponseList)
- func ResSuccess(c *gin.Context, v interface{})
- func ValidatorErrorHandle(c *gin.Context, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPageNum ¶
func ValidatorErrorHandle ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.