package Router import ( "github.com/gin-gonic/gin" "goLoad1/Controllers" ) func Login(r *gin.Engine) { user := r.Group("/user") { user.POST("/register", Controllers.RegisterInfo{}.RegisterController) user.POST("/login") } }