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

14 lines
250 B
Go
Raw Normal View History

2025-09-22 13:05:40 +00:00
package controller
import "narasi-ahli-be/app/module/chat/service"
type Controller struct {
Chat ChatController
}
func NewController(ChatService service.ChatService) *Controller {
return &Controller{
Chat: NewChatController(ChatService),
}
}