2025-11-15 15:46:24 +00:00
|
|
|
package controller
|
|
|
|
|
|
|
|
|
|
import (
|
2025-11-15 15:59:30 +00:00
|
|
|
"jaecoo-be/app/module/campaign_destinations/service"
|
|
|
|
|
|
2025-11-15 15:46:24 +00:00
|
|
|
"github.com/rs/zerolog"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Controller struct {
|
|
|
|
|
CampaignDestinations CampaignDestinationsController
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewController(CampaignDestinationsService service.CampaignDestinationsService, log zerolog.Logger) *Controller {
|
|
|
|
|
return &Controller{
|
|
|
|
|
CampaignDestinations: NewCampaignDestinationsController(CampaignDestinationsService, log),
|
|
|
|
|
}
|
|
|
|
|
}
|