repush
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bf2c8bf734
commit
2e69b8fc5c
|
|
@ -1,20 +1,20 @@
|
||||||
package clients
|
package clients
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/gofiber/fiber/v2"
|
|
||||||
"go.uber.org/fx"
|
|
||||||
"web-qudo-be/app/module/clients/controller"
|
"web-qudo-be/app/module/clients/controller"
|
||||||
"web-qudo-be/app/module/clients/repository"
|
"web-qudo-be/app/module/clients/repository"
|
||||||
"web-qudo-be/app/module/clients/service"
|
"web-qudo-be/app/module/clients/service"
|
||||||
|
|
||||||
|
"github.com/gofiber/fiber/v2"
|
||||||
|
"go.uber.org/fx"
|
||||||
)
|
)
|
||||||
|
|
||||||
// struct of ClientsRouter
|
|
||||||
type ClientsRouter struct {
|
type ClientsRouter struct {
|
||||||
App fiber.Router
|
App fiber.Router
|
||||||
Controller *controller.Controller
|
Controller *controller.Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
// register bulky of Clients module
|
|
||||||
var NewClientsModule = fx.Options(
|
var NewClientsModule = fx.Options(
|
||||||
// register repository of Clients module
|
// register repository of Clients module
|
||||||
fx.Provide(repository.NewClientsRepository),
|
fx.Provide(repository.NewClientsRepository),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue