Initial setup
This commit is contained in:
11
internal/handlers/user_handler.go
Normal file
11
internal/handlers/user_handler.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"GoMembership/internal/controllers"
|
||||
)
|
||||
|
||||
func RegisterUserHandler(controller *controllers.UserController) http.Handler {
|
||||
return http.HandlerFunc(controller.RegisterUser)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user