(c *gin.Context, msg interface{}, data interface{})
| 25 | } |
| 26 | |
| 27 | func SuccessWithMsg(c *gin.Context, msg interface{}, data interface{}) { |
| 28 | ResponseWithCode(c, CodeSuccess, msg, data) |
| 29 | } |
| 30 | |
| 31 | func FailWithMsg(c *gin.Context, msg interface{}) { |
| 32 | ResponseWithCode(c, CodeFail, msg, nil) |
no test coverage detected