simplify the register routes process

This commit is contained in:
timka 2025-09-21 22:53:13 +03:00
parent 6f633a1058
commit deddd123a3

View File

@ -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"))
}