mirror of
https://gitee.com/shikong-sk/gofiber-study
synced 2025-02-24 15:52:15 +08:00
10 lines
230 B
Go
10 lines
230 B
Go
package test
|
|
|
|
import "github.com/gofiber/fiber/v2"
|
|
|
|
func RegisterController(app *fiber.App) {
|
|
group := app.Group("/test")
|
|
group.Add(fiber.MethodGet, "/casbin", testCasbin)
|
|
group.Add(fiber.MethodPost, "/casbin", reloadCasbin)
|
|
}
|