Commit Graph

25 Commits

Author SHA1 Message Date
Joy_Zhang
cf7001dcd0 Update 14.2.md (#550) 2018-10-23 04:08:41 -04:00
Joy_Zhang
35b747efad tokoi -> tokyo (#552) 2018-10-23 04:08:15 -04:00
crackedcd
86880b1bed Update 14.2.md (#542)
返回的通道的传递类型应为 item. 方法定义的返回类型, 应和方法体中return的一致, 即make(chan item).
2018-09-09 09:14:33 -04:00
Lynn
de3c7dbdc9 Fix #520 (#521) 2018-07-16 17:11:40 +08:00
Lynn
a30c3bb4a0 Fix #513 (#519)
* Fix #513

* Change code block to bold
2018-07-16 06:20:53 +08:00
Neal Caffery
80b3ba64d2 fix the wrong comment (#446)
the original words are :
A channel type may be annotated to specify that it may only send or only receive in certain code:
var send_only chan<- int // channel can only receive data
var recv_only <-chan int // channel can only send data
2018-04-05 17:25:59 -04:00
dcb1
0de63999be 错别字更正 (#376)
* Update 15.2.md

* Update 15.2.md

* Update 14.2.md
2017-06-25 07:59:15 -04:00
冯琪超
6589aef31f update "tw-way pipe" to "tow-way pipe" (#362)
* update "tw-way pipe" to "tow-way pipe"

update "tw-way pipe" to "tow-way pipe"

* update "tw-way pipe" to "two-way pipe"

update "tw-way pipe" to "two-way pipe" and not "tow....."    lol~~
2017-06-05 13:10:40 -04:00
Instrye
3e36ed2d15 更改:练习 14.4中 睡眠时间为2e9
测试证明getData 与 main 中都睡眠 1e9的情况下 程序仍有可能会输出内容
2017-03-28 10:36:10 +08:00
htlhenry
8d85f78031 go关键字之后的匿名函数需要加上()
go关键字之后的匿名函数需要加上()
2017-02-15 17:39:44 +08:00
htlhenry
235fef348a 语序勘误
语序勘误
2017-02-15 16:40:54 +08:00
王耀
86b9d6f7ef 更新链接、修正全角括号 (#281)
* Update 07.3.md

* Update 07.3.md

* Update 07.6.md

* fix few problems

* Update 10.6 and 10.8

* Update 11.6 and 11.7

* fix some problems before Chap13

* add a dot

* Update 13.9

* little improve
2016-09-04 06:04:40 -04:00
Jingke Tian
77f672c112 6.1 章节 对函数的参数与返回值表述不准确 (#257)
* 对于函数的参数与返回值表述不准确

原表述为:
“所有类型的函数都可以有参数与返回值。函数参数、返回值以及它们的类型被统称为函数签名。”
但是,main()与init()这两函数不允许有参数与返回值,故修改为:
“除了main()、init()函数外,其它所有类型的函数都可以有参数与返回值。函数参数、返回值以及它们的类型被统称为函数签名。”

* 笔误。

* 笔误,重复的chan

* 注释错误
2016-06-03 01:42:18 -07:00
songleo
9acf3a03f9 modified: eBook/14.2.md
modified:   eBook/14.4.md
2016-01-11 11:20:14 +08:00
songleo
2df6179a14 review 2016-01-08 11:57:46 +08:00
Unknwon
5e06368e45 14.2 2016-01-04 06:29:34 +08:00
glight2000
1f352b20ea Update 14.2.md 2015-12-29 10:52:38 +08:00
glight2000
c99e433197 Update 14.2.md 2015-12-28 23:46:34 +08:00
glight2000
585b0786d2 Update 14.2.md 2015-12-28 23:41:14 +08:00
glight2000
c1466e58c9 完成14.2 2015-12-28 23:36:19 +08:00
glight2000
08ed796b24 Update 14.2.md 2015-12-26 22:20:28 +08:00
glight2000
7f82cbd0cd Update 14.2.md 2015-12-26 17:19:39 +08:00
glight2000
5095fe05c3 Update 14.2.md 2015-12-26 15:28:40 +08:00
glight2000
877d5f37bf Update 14.2.md 2015-12-25 22:07:13 +08:00
glight2000
87184288ee Create 14.2.md 2015-12-25 13:34:53 +08:00