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

15 lines
383 B
Go

package controller
import "jaecoo-be/app/module/product_specifications/service"
type Controller struct {
ProductSpecifications ProductSpecificationsController
}
func NewController(ProductSpecificationsService service.ProductSpecificationsService) *Controller {
return &Controller{
ProductSpecifications: NewProductSpecificationsController(ProductSpecificationsService),
}
}