simplify the register routes process
This commit is contained in:
parent
6f633a1058
commit
deddd123a3
@ -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"))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user