Commit Graph

926 Commits

Author SHA1 Message Date
Stephano George
b894bbac5f 更改病句: 为什么...的原因 2020-08-09 16:08:22 +08:00
Xargin
b5f4255a92
Merge pull request #87 from colynn/patch-1
Update ch9-06.md
2020-07-15 16:47:39 +08:00
colynn.liu
52f499c5ed
Update ch9-06.md 2020-07-05 16:11:18 +08:00
Xargin
9546b334f6
Merge pull request #86 from Jun10ng/master
Update ch5-06.md
2020-06-05 02:09:37 -05:00
Jun10ng
fac168795c Update ch5-06.md
之前的翻译有些许晦涩,没有表达出主要意思。查阅原文后重新翻译。
请谨慎合并。
2020-04-27 22:13:59 +08:00
Xargin
450de92875
Merge pull request #85 from Jun10ng/master
修改错别字与补充“slice可以包含自身”的场景
2020-04-27 03:30:40 -05:00
Jun10ng
4ec92321db 修改 错别字 2020-04-25 22:29:56 +08:00
Jun10ng
ded9925bbc 补充“slice可以包含自身”的场景 2020-04-23 23:34:18 +08:00
Xargin
a0e3fc36ee
Merge pull request #84 from Hongbo-Miao/patch-3
chore: update print result
2020-03-21 22:03:16 +08:00
Xargin
bd506de4eb
Merge pull request #83 from Hongbo-Miao/patch-2
chore: update switch case code format
2020-03-21 22:03:02 +08:00
Xargin
b09d03dc2a
Merge pull request #82 from Hongbo-Miao/patch-1
fix: variadic function
2020-03-21 22:02:48 +08:00
Xargin
ed92ffaedc
Merge pull request #81 from cmatrixprobe/master
修改ch13两处翻译错误
2020-03-21 22:02:32 +08:00
Hongbo Miao
5ea5fc7e62
chore: update print result 2020-03-13 17:18:23 +08:00
Hongbo Miao
373cc5de79 chore: update switch case code format
嗯 就是个格式问题,case 前面没有空格。
2020-03-12 18:19:13 +08:00
Hongbo Miao
252edd5485
fix: variadic function 2020-03-12 13:09:52 +08:00
cmatrix
82a101be20 修改ch13翻译错误 2020-03-11 21:48:11 +08:00
Xargin
bf67e042e9
Merge pull request #79 from cmatrixprobe/master
修正一处拼写错误
2020-03-01 23:47:48 +08:00
cmatrix
1cd8d117dc 修正一处拼写错误 2020-02-02 17:45:17 +08:00
Xargin
db60748fa6
Merge pull request #77 from caimaoy/patch-1
Update ch5-08.md
2019-12-24 19:13:20 +08:00
Xargin
41b5d08c72
Merge pull request #78 from caimaoy/patch-2
Update ch5-09.md
2019-12-24 19:13:08 +08:00
Yue Chen
65ee267d20
Update ch5-09.md
修改源码和文件出处
2019-12-10 17:12:31 +08:00
Yue Chen
8920b4102e
Update ch5-08.md
修改输出
2019-12-10 16:05:07 +08:00
Xargin
aaa7e5afae
Merge pull request #76 from ziyitony/fix_font_settings
修正了 font-settings 插件无法运行的错误
2019-09-09 15:22:43 +08:00
Xargin
92000ca911
Merge pull request #75 from ziyitony/fix_ch6_02
修改关于接收器方法的实参形参情况说明
2019-09-09 15:22:27 +08:00
Xargin
c3d9202db6
Merge pull request #74 from hundan2020/patch-2
增加一个在线预览镜像
2019-09-09 15:22:06 +08:00
Xargin
2599b07e65
Merge pull request #73 from hundan2020/patch-1
修正markdown渲染导致的链接错误 ch13-04.md
2019-09-09 15:21:50 +08:00
Xargin
183405635d
Merge pull request #72 from conn4575/master
修正 7.3 的翻译错误
2019-09-09 15:21:22 +08:00
ziyitony
b94132d257 修正了 font-settings 插件无法运行的错误 2019-09-05 19:06:36 +09:00
ziyitony
f28b997e61 修改关于接收器方法的实参形参情况说明 2019-09-01 20:23:17 +09:00
Hun Dean
b3ce46c5cd
增加一个在线预览镜像 2019-08-30 13:48:53 +08:00
Hun Dean
fb668ce783
Update ch13-04.md
修正markdown渲染导致的链接错误
2019-08-30 01:51:32 +08:00
conn
47317d12d3 修正 7.3 的翻译错误 2019-08-29 06:38:57 +08:00
Xargin
b5022c2d3d
Merge pull request #71 from ziyitony/fix_minor_typo_in_ch4
修改一处笔误, '系列' 修改为 '序列'
2019-07-15 15:13:00 +08:00
yuguo
19bba53181 修改一处笔误, '系列' 修改为 '序列' 2019-07-09 16:06:34 +09:00
Xargin
2d57353f66
Merge pull request #70 from nnecec/master
Update ch1-04.md
2019-04-24 18:26:46 +08:00
ShiCheng
c47506f3eb
Update ch1-04.md 2019-04-15 17:11:48 +08:00
Xargin
c0ef4470c7
Merge pull request #69 from lixiaojun629/master
补充翻译关于互斥锁不可重入性的解释
2019-04-08 10:37:53 +08:00
lixiaojun629
023ae210fc
补充翻译关于互斥锁不可重入性的解释 2019-04-05 20:23:31 +08:00
Xargin
5d53b00aa8
Merge pull request #68 from xlzhangkeke/patch-1
Update ch7-04.md
2019-02-27 15:37:07 +08:00
xlzhangkeke
0e01a4aa11
Update ch7-04.md 2019-02-19 16:18:15 +08:00
Xargin
f029e617ec
Merge pull request #67 from whtiehack/patch-1
Update ch9-06.md
2018-12-23 18:12:03 +08:00
smallwhite
df29ca419f
Update ch9-06.md 2018-12-17 18:49:42 +08:00
Xargin
a5a5f2c51e Merge branch 'master' of github.com:gopl-zh/gopl-zh.github.com 2018-09-26 10:40:32 +08:00
Xargin
7fbf986ec2 fix typo
diff --git a/ch5/ch5-06.md b/ch5/ch5-06.md
index b7e8d65..ebaabd0 100644
--- a/ch5/ch5-06.md
+++ b/ch5/ch5-06.md
@@ -91,7 +91,7 @@ func topoSort(m map[string][]string) []string {
 }
 ```

-当匿名函数需要被递归调用时,我们必须首先声明一个变量(在上面的例子中,我们首先声明了 visitAll),再将匿名函数赋值给这个变量。如果不分成两部,函数字面量无法与visitAll绑定,我们也无法递归调用该匿名函数。
+当匿名函数需要被递归调用时,我们必须首先声明一个变量(在上面的例子中,我们首先声明了 visitAll),再将匿名函数赋值给这个变量。如果不分成两步,函数字面量无法与visitAll绑定,我们也无法递归调用该匿名函数。

 ```Go
 visitAll := func(items []string) {
2018-09-26 10:40:16 +08:00
Xargin
e49d682204
Merge pull request #66 from chai2010/master
update readme
2018-08-14 10:16:47 +08:00
chai2010
38279aaab6 update readme 2018-08-14 08:23:41 +08:00
Xargin
50e3a3b2ea
Merge pull request #65 from chai2010/master
update preface
2018-08-07 23:13:18 +08:00
chai2010
cd13bc2b4b update preface 2018-08-07 16:21:29 +08:00
Xargin
57624beae8
Merge pull request #64 from chai2010/master
update readme
2018-08-07 16:15:35 +08:00
chai2010
a9d042848d update readme 2018-08-07 14:43:42 +08:00