package cron import ( "github.com/robfig/cron" ) func Init() { c := cron.New() //_ = c.AddFunc(NewTenant().ContractDeadline()()) c.Start() }