Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2024 Changes in this version + const ERROR + const ErrorMsg + const SUCCESS + const SuccessMsg + func FailWithMsg(c *gin.Context, msg string) + func OK(c *gin.Context) + func OKWithData(c *gin.Context, data interface{}) + func WrapValidateErrMsg(err error) (msg string) + type Response struct + Code int + Data interface{} + Msg string