Tag: 定时任务

beego 定时任务的实现

Jackey Golang 6,100 次浏览 ,
[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