cds-web/routes/accounts.go

15 lines
322 B
Go
Raw Permalink Normal View History

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