You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
394 B
Go
17 lines
394 B
Go
package modules
|
|
|
|
import (
|
|
service "cls/internal/application/purchase"
|
|
repo "cls/internal/infrastructure/persistence/purchase"
|
|
"cls/internal/interfaces"
|
|
"cls/internal/interfaces/purchase"
|
|
"go.uber.org/fx"
|
|
)
|
|
|
|
var PurchaseModule = fx.Module("PurchaseModule",
|
|
fx.Provide(
|
|
interfaces.AsHandler(purchase.NewPurchaseHandler),
|
|
service.NewPurchaseService,
|
|
repo.NewPurchaseRepositoryORM,
|
|
))
|