diff --git a/deliveries/http/handlers/user/user_handler.go b/deliveries/http/handlers/user/user_handler.go index 80aea44..ff7375b 100644 --- a/deliveries/http/handlers/user/user_handler.go +++ b/deliveries/http/handlers/user/user_handler.go @@ -6,8 +6,8 @@ type User struct { service service.User } -func NewUserService(UserSvc service.User) User { +func NewUserService(userSvc service.User) User { return User{ - service: UserSvc, + service: userSvc, } } diff --git a/deliveries/http/handlers/user/user_routes.go b/deliveries/http/handlers/user/user_routes.go deleted file mode 100644 index 9ef49ba..0000000 --- a/deliveries/http/handlers/user/user_routes.go +++ /dev/null @@ -1,13 +0,0 @@ -package handlers - -import ( - "github.com/labstack/echo/v4" -) - -func (uh User) SetUserRoutes(e *echo.Echo) { - // TODO ::: implement Auth first - // userGroup := e.Group("/users") - - // userGroup.POST("", uh.create) - // userGroup.GET("", uh.getAll) -}