From deddd123a3aca200f5fd7173fba55c8c3686f431 Mon Sep 17 00:00:00 2001 From: timka Date: Sun, 21 Sep 2025 22:53:13 +0300 Subject: [PATCH] simplify the register routes process --- cmd/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index d487cca..44c322b 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -30,8 +30,7 @@ func main() { TimeZone: "America/New_York", })) - authGroup := app.Group("/api/auth") - authGroup = auth.SetupRoutes(authGroup) + auth.SetupRoutes(app.Group("/api/auth")) log.Fatal(app.Listen(":3000")) }