qudoco-be/app/module/articles/controller/controller.go

17 lines
334 B
Go
Raw Permalink Normal View History

2026-02-24 09:37:19 +00:00
package controller
import (
"github.com/rs/zerolog"
"web-qudo-be/app/module/articles/service"
)
type Controller struct {
Articles ArticlesController
}
func NewController(ArticlesService service.ArticlesService, log zerolog.Logger) *Controller {
return &Controller{
Articles: NewArticlesController(ArticlesService, log),
}
}