stampa il tempo parziale
This commit is contained in:
parent
bcf786f392
commit
dc2e4988be
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
fmt.Println(ys, ye)
|
||||
// fmt.Println(ys, ye)
|
||||
|
||||
for i := range ys {
|
||||
q := opts.ll.Find(bson.M{"date": bson.M{"$gte": ys[i], "$lte": ye[i]}}).Sort("user")
|
||||
|
@ -221,6 +221,7 @@ func main() {
|
|||
log.Println("Insert error: ", err)
|
||||
}
|
||||
}
|
||||
fmt.Printf("Stop %s: %s\n", ys[i], time.Since(start))
|
||||
}
|
||||
|
||||
fmt.Println("Stop: ", time.Since(start))
|
||||
|
|
Loading…
Add table
Reference in a new issue