package main import ( "qfw/util" "qfw/util/elastic" "time" ) var ( SingleClear = 0 Es *elastic.Elastic Index string Itype string ) func main() { if Sysconfig["loadStart"] != nil { loadStart := util.Int64All(Sysconfig["loadStart"]) if loadStart > -1 { P_QL.loadData(loadStart) } } P_QL.currentType = "project" P_QL.pici = time.Now().Unix() P_QL.taskQl() c := make(chan bool, 1) <-c }