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

16 lines
282 B
Go

package route
import (
"github.com/gofiber/fiber/v2"
"matrix-middle-service/internel/controller/bot"
"matrix-middle-service/pkg/config"
)
func SetupRoute(app *fiber.App, conf *config.Conf) {
if conf.Server.EnableSwag {
SwaggerHandler(app)
}
bot.SetupBotController(app)
}