Browse Source

Update README.md

function must be invoked in go statement
Petr Shevtsov 8 years ago
parent
commit
000b105a2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -73,7 +73,7 @@ for i := 0; i < 4; i++ {
 		for e := range ch {
 			p.Send(e, 10 * time.Second)
 		}
-	}
+	}()
 }
 ```