beego 定时任务的实现 Jackey Golang 2020-01-06 6,100 次浏览 Golang, 定时任务 [codesyntax lang="c"] package main import ( "github.com/astaxie/beego" "github.com/astaxie/beego/logs" "github.com/astaxie/beego/toolbox" ) func InitTask(){ tk := toolbox.NewTask("generateWarning", "*/...