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
373 B
Go
17 lines
373 B
Go
package modules
|
|
|
|
import (
|
|
service "cls/internal/application/coupon"
|
|
repo "cls/internal/infrastructure/persistence/coupon"
|
|
"cls/internal/interfaces"
|
|
"cls/internal/interfaces/coupon"
|
|
"go.uber.org/fx"
|
|
)
|
|
|
|
var CouponModule = fx.Module("couponModule",
|
|
fx.Provide(
|
|
interfaces.AsHandler(coupon.NewCouponHandler),
|
|
service.NewCouponService,
|
|
repo.NewCouponRepository,
|
|
))
|