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.
20 lines
464 B
Go
20 lines
464 B
Go
package modules
|
|
|
|
import (
|
|
service "cls/internal/application/price"
|
|
"cls/internal/infrastructure/persistence/price_default"
|
|
|
|
repo "cls/internal/infrastructure/persistence/price"
|
|
"cls/internal/interfaces"
|
|
"cls/internal/interfaces/price"
|
|
"go.uber.org/fx"
|
|
)
|
|
|
|
var PriceModule = fx.Module("PriceModule",
|
|
fx.Provide(
|
|
interfaces.AsHandler(price.NewPriceHandler),
|
|
service.NewPriceService,
|
|
repo.NewPriceRepositoryORM,
|
|
price_default.NewPriceRepositoryORM,
|
|
))
|