jaecoo-be/app/module/chat/controller/controller.go

18 lines
605 B
Go
Raw Normal View History

2025-11-15 15:46:24 +00:00
package controller
2025-11-15 15:59:30 +00:00
import "jaecoo-be/app/module/chat/service"
2025-11-15 15:46:24 +00:00
type Controller struct {
Chat ChatController
ChatSchedule ChatScheduleController
ChatScheduleFile ChatScheduleFileController
}
func NewController(ChatService service.ChatService, ChatScheduleService service.ChatScheduleService, ChatScheduleFileService service.ChatScheduleFileService) *Controller {
return &Controller{
Chat: NewChatController(ChatService),
ChatSchedule: NewChatScheduleController(ChatScheduleService),
ChatScheduleFile: NewChatScheduleFileController(ChatScheduleFileService),
}
}