ch8: fix code format

This commit is contained in:
chai2010
2016-01-21 10:39:06 +08:00
parent 0b5ec941ed
commit b1730821fe
13 changed files with 393 additions and 404 deletions

View File

@@ -18,8 +18,8 @@ func printer(in chan int)
這是改進的版本這一次參數使用了單方向channel類型
<u><i>gopl.io/ch8/pipeline3</i></u>
```Go
gopl.io/ch8/pipeline3
func counter(out chan<- int) {
for x := 0; x < 100; x++ {
out <- x