コード例 #1
0
ファイル: default.go プロジェクト: ZuochaoLee/go-zts
func (c *TestController) Get() {
	models.InitTask()
	//c.Data["json"] = map[string]int{"code": models.UpdateConf("php", "/lnmp/php/bin/php")}
	c.ServeJSON()
}
コード例 #2
0
ファイル: main.go プロジェクト: ZuochaoLee/go-zts
func main() {
	go models.InitTask()
	beego.Run()

}