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
401 B
Go

3 weeks ago
package modules
import (
service "cls-server/internal/application/coupon"
repo "cls-server/internal/infrastructure/persistence/coupon"
"cls-server/internal/interfaces"
"cls-server/internal/interfaces/coupon"
"go.uber.org/fx"
)
var CouponModule = fx.Module("couponModule",
fx.Provide(
interfaces.AsHandler(coupon.NewCouponHandler),
service.NewCouponService,
repo.NewCouponRepository,
))