Versions in this module Expand all Collapse all v7 v7.0.1 Mar 28, 2021 v7.0.0 Aug 30, 2020 Changes in this version + const LoggerReqBodyKey + const ReqBodyKey + const ResBodyKey + const UserIDKey + func GetBody(c *gin.Context) []byte + func GetToken(c *gin.Context) string + func GetUserID(c *gin.Context) string + func ParseForm(c *gin.Context, obj interface{}) error + func ParseJSON(c *gin.Context, obj interface{}) error + func ParseQuery(c *gin.Context, obj interface{}) error + func ResError(c *gin.Context, err error, status ...int) + func ResJSON(c *gin.Context, status int, v interface{}) + func ResList(c *gin.Context, v interface{}) + func ResOK(c *gin.Context) + func ResPage(c *gin.Context, v interface{}, pr *schema.PaginationResult) + func ResSuccess(c *gin.Context, v interface{}) + func SetUserID(c *gin.Context, userID string) Other modules containing this package github.com/LyricTian/gin-admin/v8