dbpersoninfo.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
dbpersoninfo.go
@@ -53,7 +53,11 @@ // Getdbpersonmsg("") //} func Getdbpersonmsg(teststring string) ([]interface{}) { func Getdbpersonmsg(teststring string, IsCompare bool) ([]interface{}) { if !IsCompare { return nil } if teststring == "" { testcache, _:= esutil.DbPersoninfos(0,1) @@ -65,7 +69,7 @@ fmt.Println() firsttime := time.Now() Rscore := Cmap.Walk(Printest, teststring) Rscore := Cmap.Walk(Printest, teststring, IsCompare) fmt.Println(time.Since(firsttime)) return Rscore }