Update 14.2.md (#550)

This commit is contained in:
Joy_Zhang
2018-10-23 17:08:41 +09:00
committed by 无闻
parent e0b1341f04
commit cf7001dcd0

View File

@@ -95,7 +95,7 @@ func getData(ch chan string) {
输出
```
Washington Tripoli London Beijing Tokio
Washington Tripoli London Beijing tokyo
```
`main()` 函数中启动了两个协程`sendData()` 通过通道 ch 发送了 5 个字符串`getData()` 按顺序接收它们并打印出来