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

16 lines
327 B
Go
Raw Normal View History

2026-01-25 21:23:17 +00:00
package controller
import "narasi-ahli-be/app/module/notifications/service"
type Controller struct {
Notifications NotificationsController
}
func NewController(
NotificationsService service.NotificationsService,
) *Controller {
return &Controller{
Notifications: NewNotificationsController(NotificationsService),
}
}