| 11 | } |
| 12 | |
| 13 | type Response struct { |
| 14 | Code int `json:"code"` |
| 15 | Msg string `json:"msg"` |
| 16 | Data interface{} `json:"data"` |
| 17 | } |
| 18 | |
| 19 | // Response setting gin.JSON |
| 20 | func (g *Gin) Response(httpCode, errCode int, data interface{}) { |
nothing calls this directly
no outgoing calls
no test coverage detected