cds-web/routes/accounts.go

15 lines
322 B
Go
Raw Normal View History

2022-10-21 03:12:22 +02:00
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)
2022-10-29 23:05:16 +02:00
route.Get("/:id/not/groups", controllers.GetNotGroupsUser)
2022-10-21 03:12:22 +02:00
}