package zcron import ( "github.com/go-co-op/gocron" "time" ) func New(loc *time.Location) *gocron.Scheduler { return gocron.NewScheduler(loc) } func Default() *gocron.Scheduler { s := gocron.NewScheduler(time.UTC) s.SingletonModeAll() return s }