Files
workspace/code/allapp/allapp-go-v3/internal/router/router.go
T
2026-04-02 17:24:43 +08:00

17 lines
272 B
Go

package router
import (
"github.com/gofiber/fiber/v3"
)
func Setup(app *fiber.App) {
// 健康检查
app.Get("/ping", func(c fiber.Ctx) error {
return c.SendString("pong")
})
// 你后面可以这样分组:
// setupUserRoutes(app)
// setupOrderRoutes(app)
}