package main import ( "KYA/jobcron" _ "KYA/routers" "KYA/service" "github.com/astaxie/beego" ) func init() { service.ConnectDB() } func main() { go func() { }() go jobcron.RequestQNToken() jobcron.BeginRerequestTwoQNTokenCronJob() beego.Run() }