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.
cls/internal/modules/price_module.go

17 lines
367 B
Go

package modules
import (
service "cls/internal/application/price"
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,
))