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

17 lines
339 B
Go
Raw Normal View History

2025-09-28 01:53:09 +00:00
package controller
import (
"github.com/rs/zerolog"
2025-09-30 13:34:56 +00:00
"netidhub-saas-be/app/module/articles/service"
2025-09-28 01:53:09 +00:00
)
type Controller struct {
Articles ArticlesController
}
func NewController(ArticlesService service.ArticlesService, log zerolog.Logger) *Controller {
return &Controller{
Articles: NewArticlesController(ArticlesService, log),
}
}