From 430c95659d331064ba3212e6e1b478b2a1cadf63 Mon Sep 17 00:00:00 2001 From: "Zane.Y" Date: Sat, 15 Jul 2017 00:51:10 +0800 Subject: [PATCH] Update main.go --- main/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.go b/main/main.go index b4540c0..16211d4 100644 --- a/main/main.go +++ b/main/main.go @@ -11,7 +11,7 @@ func main() { for i := 0; i < 100; i++ { list[i] = i * 2 } - tmp := NewParallelStream(list).Filter(func(item interface{}) bool { + tmp := NewStream(list).Filter(func(item interface{}) bool { if item.(int) < 100 { return false }