simplify the register routes process
This commit is contained in:
@@ -30,8 +30,7 @@ func main() {
|
|||||||
TimeZone: "America/New_York",
|
TimeZone: "America/New_York",
|
||||||
}))
|
}))
|
||||||
|
|
||||||
authGroup := app.Group("/api/auth")
|
auth.SetupRoutes(app.Group("/api/auth"))
|
||||||
authGroup = auth.SetupRoutes(authGroup)
|
|
||||||
|
|
||||||
log.Fatal(app.Listen(":3000"))
|
log.Fatal(app.Listen(":3000"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user