(c *gin.Context)
| 12 | return &HelloController{} |
| 13 | } |
| 14 | func (controller *HelloController) GetTest(c *gin.Context) { |
| 15 | c.JSON(http.StatusOK, gin.H{ |
| 16 | "code": 0, |
| 17 | "msg": "GetTest", |
| 18 | "data": nil, |
| 19 | }) |
| 20 | } |
| 21 | func (controller *HelloController) GetTestBAD1(c *gin.Context, a string) { |
| 22 | c.JSON(http.StatusOK, gin.H{ |
| 23 | "code": 0, |
nothing calls this directly
no outgoing calls
no test coverage detected