use fmt.Println instead of println

This commit is contained in:
kevin
2020-08-11 12:44:21 +08:00
committed by kingxt
parent f77c73eec1
commit 4f59fd306a
4 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"fmt"
"time"
"github.com/tal-tech/go-zero/core/executors"
@@ -8,7 +9,7 @@ import (
func main() {
exeutor := executors.NewBulkExecutor(func(items []interface{}) {
println(len(items))
fmt.Println(len(items))
}, executors.WithBulkTasks(10))
for {
exeutor.Add(1)