sk-matrix-project/backend/golang/matrix-middle-service/internel/route/route.go

16 lines
285 B
Go
Raw Normal View History

package route
import (
"github.com/gofiber/fiber/v2"
2023-02-27 17:18:31 +08:00
"matrix-middle-service/internel/controller"
"matrix-middle-service/pkg/config"
)
func SetupRoute(app *fiber.App, conf *config.Conf) {
if conf.Server.EnableSwag {
SwaggerHandler(app)
}
2023-02-27 17:18:31 +08:00
controller.SetupBotController(app)
}