From cf09928a39f9e2e8756aa2102253cfef7aeb4aa0 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 3 Aug 2024 00:07:14 +0300 Subject: [PATCH] Small rename --- cmd/http-server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/http-server/main.go b/cmd/http-server/main.go index 00df2ed..fdbedb3 100644 --- a/cmd/http-server/main.go +++ b/cmd/http-server/main.go @@ -36,9 +36,9 @@ func main() { docs.SwaggerInfo.BasePath = "/api" // Routes defined in the routes package - routes := r.Group("/api") + api := r.Group("/api") { - userRoutes := routes.Group("/user") + userRoutes := api.Group("/user") { userRoutes.POST("/register", handlers.UserRegister) userRoutes.POST("/login", handlers.UserLogin)