Update 14.3.md

This commit is contained in:
glight2000
2015-12-29 11:24:54 +08:00
parent dab7a34ab6
commit ffc52b698f

View File

@@ -94,7 +94,7 @@ for {
使用for-range语句来读取通道是更好的办法因为这会自动检测通道是否关闭
```go
for input := range ch {
process(input)
process(input)
}
```
阻塞和生产者-消费者模式