package server import ( "ai_scheduler/internal/config" "github.com/gofiber/fiber/v2" ) type Servers struct { cfg *config.Config HttpServer *fiber.App DingBotServer *DingTalkBotServer Cron *CronServer } func NewServers(cfg *config.Config, fiber *fiber.App, DingBotServer *DingTalkBotServer, cron *CronServer) *Servers { return &Servers{ HttpServer: fiber, cfg: cfg, DingBotServer: DingBotServer, Cron: cron, } }