Skip to content

Commit

Permalink
Fix typo: Practice 14.5 (unknwon#571)
Browse files Browse the repository at this point in the history
14.2.md
  • Loading branch information
wisecsj authored and unknwon committed Feb 1, 2019
1 parent dda7746 commit 8db0eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eBook/14.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func (s semaphore) Signal() {
}
```

练习 14.5:[gosum.go](exercises/chapter_14/gosum.go):用这种习惯用法写一个程序,开启一个协程来计算2个整数的合并等待计算结果并打印出来
练习 14.5:[gosum.go](exercises/chapter_14/gosum.go):用这种习惯用法写一个程序,开启一个协程来计算2个整数的和并等待计算结果并打印出来

练习 14.6:[producer_consumer.go](exercises/chapter_14/producer_consumer.go):用这种习惯用法写一个程序,有两个协程,第一个提供数字 0,10,20,...90 并将他们放入通道,第二个协程从通道中读取并打印。`main()` 等待两个协程完成后再结束。

Expand Down

0 comments on commit 8db0eb3

Please sign in to comment.