add new nimo code

change more
This commit is contained in:
eson
2020-08-28 19:07:12 +08:00
parent eee4e30585
commit 5d50119825
30 changed files with 10540 additions and 110 deletions

View File

@@ -159,7 +159,9 @@ func Execute() {
streamer.Operator = 0
if estore.InsertStreamer(streamer) {
// log.Println("streamer update tags", streamer.Uid, tags)
estore.Update(streamer, "Tags", streamer.Tags)
if streamer.Tags != nil {
estore.Update(streamer, "Tags", streamer.Tags)
}
}
}
log.Println("streamer find", len(articles))

View File

@@ -2,6 +2,6 @@ package main
import "testing"
func estMain(t *testing.T) {
func TestMain(t *testing.T) {
main()
}