Receiving "panic: wildcard route ':id' conflicts with existing children in path '/users/:id'" error
user := r.Group("/users")
{
user.POST("/", ur.SignUp)
user.POST("/login", l.Login)
user.GET("/sendconfirmationemail/:userId", rc.SendConfirmationEmail)
user.GET("/:id", lc.GetUserByUserId)
user.GET("/confirmemail", rc.ConfirmEmail)
user.GET("/resendconfirmationemail", rc.ResendEmailConfirmation)
user.GET("/forgotusername", rc.ForgotUsername)
user.GET("/sendpasswordreset", rc.SendPasswordReset)
user.POST("/confirmpasswordreset", rc.ConfirmPasswordReset)
}
Somewthing working
wildcard error