Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CouponController ¶
type CouponController interface {
Create(ctx context.Context, dto repo.CouponDto) (*model.Coupon, error)
}
func NewCouponController ¶
func NewCouponController(db *sqlx.DB) CouponController
type CouponTypeController ¶
type CouponTypeController interface {
Create(ctx context.Context, dto repo.CouponTypeDto) (*model.CouponType, error)
}
func NewCouponTypeController ¶
func NewCouponTypeController(db *sqlx.DB) CouponTypeController
Click to show internal directories.
Click to hide internal directories.