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

18 lines
333 B
Go
Raw Permalink Normal View History

2025-11-15 15:46:24 +00:00
package controller
import (
2025-11-15 15:59:30 +00:00
"jaecoo-be/app/module/articles/service"
2025-11-15 15:46:24 +00:00
"github.com/rs/zerolog"
)
type Controller struct {
Articles ArticlesController
}
func NewController(ArticlesService service.ArticlesService, log zerolog.Logger) *Controller {
return &Controller{
Articles: NewArticlesController(ArticlesService, log),
}
}