标签:定时任务

beego 定时任务的实现

gopher Golang 109 次浏览 ,
[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", "*/...
Go