| 37 | } |
| 38 | |
| 39 | type FormRegister struct { |
| 40 | UserName string `form:"userName" json:"userName" binding:"required"` |
| 41 | Password string `form:"passWord" json:"passWord" binding:"required"` |
| 42 | } |
| 43 | |
| 44 | func Register(c *gin.Context) { |
| 45 | var formRegister FormRegister |
nothing calls this directly
no outgoing calls
no test coverage detected