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