Documentation ¶
Index ¶
- func GetResponseCode(code int) int
- func GetResponseMsg(gin *gin.Context, code int) (message string)
- func UtilResponseReturnJson(c *gin.Context, code int, model interface{}, msg ...string)
- func UtilResponseReturnJsonFailed(c *gin.Context, code int)
- func UtilResponseReturnJsonWithMsg(c *gin.Context, code int, msg string, model interface{}, callbackFlag bool, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResponseCode ¶
func UtilResponseReturnJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.