Xargin
|
80ad3eea47
|
fix typo
diff --git a/ch2/ch2-03-1.md b/ch2/ch2-03-1.md
index 72656c3..456cda5 100644
--- a/ch2/ch2-03-1.md
+++ b/ch2/ch2-03-1.md
@@ -61,6 +61,6 @@ f, err := os.Open(infile)
f, err := os.Create(outfile) // compile error: no new variables
```
-解决的方法是第二个简短变量声明语句改用普通的多重赋值语言。
+解决的方法是第二个简短变量声明语句改用普通的多重赋值语句。
简短变量声明语句只有对已经在同级词法域声明过的变量才和赋值操作语句等价,如果变量是在外部词法域声明的,那么简短变量声明语句将会在当前词法域重新声明一个新的变量。我们在本章后面将会看到类似的例子。
|
2017-07-31 12:47:55 +08:00 |
|
ZengFei Zhang
|
6e80212a44
|
fix typo
|
2017-05-05 10:15:39 +08:00 |
|
Xargin
|
fdd2b6b4f1
|
修改说辞
|
2016-12-15 15:42:41 +08:00 |
|
jxskiss
|
6be131ac34
|
Fix error building with pandoc.
|
2016-09-28 02:16:15 +08:00 |
|
Xargin
|
42861dab2c
|
fix typo
|
2016-08-24 15:43:43 +08:00 |
|
custa
|
22f1a8a202
|
修正翻译错误
|
2016-08-07 21:59:29 +08:00 |
|
Xargin
|
fd1283d830
|
fix typo
|
2016-07-15 16:54:15 +08:00 |
|
Akagi201
|
53b3c683b8
|
fix typo
|
2016-04-26 00:48:25 +08:00 |
|
Akagi201
|
2929cd94ae
|
fix typo
|
2016-04-25 19:09:38 +08:00 |
|
Akagi201
|
ea29411119
|
fix typo
|
2016-04-25 18:56:27 +08:00 |
|
Akagi201
|
9fc9ff0209
|
fix typo
|
2016-04-16 14:03:13 +08:00 |
|
Akagi201
|
3bbc20169e
|
fix typo
|
2016-04-04 20:26:08 +08:00 |
|
Akagi201
|
35b3e2ef68
|
fix typo
|
2016-04-04 19:50:06 +08:00 |
|
Akagi201
|
c13813ab6b
|
fix typo
|
2016-04-04 17:38:28 +08:00 |
|
chai2010
|
9787d2d9e4
|
Fixes #3
|
2016-02-19 11:09:31 +08:00 |
|
chai2010
|
d862814bc0
|
章节标题采用大写数字
|
2016-02-15 11:09:45 +08:00 |
|
chai2010
|
2b37b23285
|
回到简体
|
2016-02-15 11:06:34 +08:00 |
|
sunclx
|
5b4d690a48
|
Update ch2-06-2.md:pc初始化函数缺少return
Update ch2-06-2.md
var pc [256]byte = func() (pc [256]byte) {
for i := range pc {
pc[i] = pc[i/2] + byte(i&1)
}
return
}()
|
2016-01-31 14:10:17 +08:00 |
|
chai2010
|
7fe7a309be
|
ch2: fix code path
|
2016-01-20 23:16:19 +08:00 |
|
chai2010
|
1a780a2a52
|
Fixes #205
|
2016-01-18 12:14:26 +08:00 |
|
chai2010
|
9666211cd7
|
Fix typo
Fixes #198
|
2016-01-18 11:22:04 +08:00 |
|
chai2010
|
ca365a301a
|
fix errata
|
2016-01-07 15:02:42 +08:00 |
|
chai2010
|
53323a04c8
|
fix typo
|
2016-01-04 17:30:03 +08:00 |
|
chai2010
|
ba7261d140
|
make loop
|
2015-12-28 15:59:28 +08:00 |
|
chai2010
|
6978661750
|
ch3,ch3-01 review
|
2015-12-27 15:13:12 +08:00 |
|
chai2010
|
7c96bf43e6
|
ch2-07 review
|
2015-12-26 21:18:14 +08:00 |
|
chai2010
|
801a62f7a0
|
ch2-06 review
|
2015-12-26 20:53:13 +08:00 |
|
chai2010
|
e15e88dad7
|
make loop
|
2015-12-26 20:05:30 +08:00 |
|
chai2010
|
82ec0c025d
|
ch2-05 review
|
2015-12-26 20:03:47 +08:00 |
|
chai2010
|
fa63a48058
|
ch2-04 review
|
2015-12-26 16:57:06 +08:00 |
|
chai2010
|
a44fb5ee9e
|
ch2-03 review
|
2015-12-26 15:42:56 +08:00 |
|
chai2010
|
e793c91fdb
|
ch2-03,ch2-03-1 review
|
2015-12-26 14:25:43 +08:00 |
|
chai2010
|
ab90c85ce2
|
ch2-02 review
|
2015-12-26 13:43:25 +08:00 |
|
chai2010
|
ca24769538
|
ch2,ch2-01 review
|
2015-12-26 11:28:41 +08:00 |
|
chai2010
|
35b11c0ff4
|
reduce file size
|
2015-12-25 12:41:49 +08:00 |
|
chai2010
|
745a165b6f
|
rebuild
|
2015-12-24 14:49:03 +08:00 |
|
chai2010
|
7ec2f7cdc1
|
rebuild
|
2015-12-21 12:55:18 +08:00 |
|
chai2010
|
f9ac065e47
|
make loop
|
2015-12-18 14:49:31 +08:00 |
|
chai2010
|
c66a96ee52
|
update tw
|
2015-12-18 10:53:03 +08:00 |
|
chai2010
|
1d7534e3c3
|
rebuild
|
2015-12-16 10:56:29 +08:00 |
|
chai2010
|
0a24303905
|
rebuild
|
2015-12-14 12:08:47 +08:00 |
|
chai2010
|
3b8de6c274
|
no msg
|
2015-12-09 15:57:17 +08:00 |
|
chai2010
|
1693baf5de
|
good good study, day day up!
|
2015-12-09 15:45:11 +08:00 |
|