medol-be/app/module/request_for_informations/controller/controller.go

17 lines
448 B
Go

package controller
import (
"github.com/rs/zerolog"
"go-humas-be/app/module/request_for_informations/service"
)
type Controller struct {
RequestForInformations RequestForInformationsController
}
func NewController(RequestForInformationsService service.RequestForInformationsService, log zerolog.Logger) *Controller {
return &Controller{
RequestForInformations: NewRequestForInformationsController(RequestForInformationsService, log),
}
}