2024-11-22 04:14:14 +00:00
|
|
|
package controller
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/rs/zerolog"
|
2025-07-02 06:03:52 +00:00
|
|
|
"web-medols-be/app/module/custom_static_pages/service"
|
2024-11-22 04:14:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Controller struct {
|
|
|
|
|
CustomStaticPages CustomStaticPagesController
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewController(CustomStaticPagesService service.CustomStaticPagesService, log zerolog.Logger) *Controller {
|
|
|
|
|
return &Controller{
|
|
|
|
|
CustomStaticPages: NewCustomStaticPagesController(CustomStaticPagesService, log),
|
|
|
|
|
}
|
|
|
|
|
}
|