feat: update article save
This commit is contained in:
parent
84a678e499
commit
ff67b72483
|
|
@ -1,7 +1,6 @@
|
||||||
package controller
|
package controller
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rs/zerolog"
|
|
||||||
"go-humas-be/app/module/articles/service"
|
"go-humas-be/app/module/articles/service"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -9,8 +8,8 @@ type Controller struct {
|
||||||
Articles ArticlesController
|
Articles ArticlesController
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewController(ArticlesService service.ArticlesService, log zerolog.Logger) *Controller {
|
func NewController(ArticlesService service.ArticlesService) *Controller {
|
||||||
return &Controller{
|
return &Controller{
|
||||||
Articles: NewArticlesController(ArticlesService, log),
|
Articles: NewArticlesController(ArticlesService),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue