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

18 lines
338 B
Go
Raw Normal View History

2025-09-19 04:08:42 +00:00
package controller
import (
"narasi-ahli-be/app/module/articles/service"
"github.com/rs/zerolog"
)
type Controller struct {
Articles ArticlesController
}
func NewController(ArticlesService service.ArticlesService, log zerolog.Logger) *Controller {
return &Controller{
Articles: NewArticlesController(ArticlesService, log),
}
}