Files
workspace/code/allapp/allapp-go/api/router/router.go
T
2026-02-25 22:20:16 +08:00

15 lines
218 B
Go

package router
import (
"allapp/api/handler"
"allapp/config"
"github.com/gofiber/fiber/v3"
)
func SetupRouters(app *fiber.App) {
api := app.Group(config.GetConf().Server.BaseUrl)
api.Get("/", handler.Hello)
}