cds-web/routes/accounts.go
2022-10-21 03:12:22 +02:00

13 lines
262 B
Go

package routes
import (
"cds/controllers"
"github.com/gofiber/fiber/v2"
)
func UserRoute(route fiber.Router) {
route.Get("/current", controllers.GetCurrentUser)
route.Get("/:id", controllers.GetUser)
route.Get("/:id/groups", controllers.GetGroupsUser)
}