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