voucher/internal/service/voucher.go

22 lines
334 B
Go

package service
import (
"voucher/internal/biz"
"voucher/internal/conf"
)
type VoucherService struct {
bc *conf.Bootstrap
VoucherBiz *biz.VoucherBiz
}
func NewVoucherService(
bc *conf.Bootstrap,
VoucherBiz *biz.VoucherBiz,
) *VoucherService {
return &VoucherService{
bc: bc,
VoucherBiz: VoucherBiz,
}
}