Commit Graph

1351 Commits

Author SHA1 Message Date
yingtaojuzi
16f2309acb when I import the pack1, if I add the ./pack1/pack1, it will fai… (#760)
* when I import the pack1, if I add the ./pack1/pack1, it will failed

* also the import exercise need updating

* the path in this file
2020-02-13 14:49:55 +08:00
TalonsLee
64a617897d PathError/SyntaxError implement the error interface (#758)
Signed-off-by: Talons.Lee <talons.lee@gmail.com>
2020-02-05 13:21:59 +08:00
TalonsLee
7a12625ff5 Revert "修复代码bug--> exercises/chapter_7/remove_slice.go (#433)" (#757)
Changes to these two files seem not necessary.

This reverts commit 695188fe0d.
2020-02-01 22:42:01 +08:00
TianTianZaoChen
7034c2cd49 Update 03.2.md (#756) 2020-01-23 23:18:54 +08:00
WenKang Tan
3c1df47a86 Update 04.9.md (#755)
Fix: "a literal" 应翻译为术语 ”字面量“ 而不是 “文字”
2020-01-22 23:36:54 +08:00
Zerah
ba7b7fffdd ‘Sequential’ 拼写错误 (#752) 2020-01-21 23:30:22 +08:00
武沫汐
57cb2ed0c6 7.5调整变量名命名规范问题 (#750) 2020-01-21 23:30:00 +08:00
Xavier Zhao
0f26273836 mod: 11.9.md (#749) 2020-01-21 23:29:43 +08:00
xiaofsu
10b5050492 Update 04.8.md (#748)
* Update 04.8.md

更改04.8内容,Duration d 更改为 d Duration  以及添加  2006-01-02 15:04:05

* Update 04.8.md
2019-12-25 10:28:00 +08:00
cashewnut
173fcc518c update comment (#747) 2019-12-13 23:38:44 -08:00
Pan Yao
c308fad89f Update 14.2.md (#742)
world “resouces” -> "resources"
2019-11-27 15:13:17 -08:00
yifeng01
994720ab07 Chap19 738 (#740)
* fix http response content-type error

* fix_chap19_739
2019-11-25 14:44:31 -08:00
walter
cb2533e60e Update 07.1.md (#741) 2019-11-25 14:43:53 -08:00
polunzh
40a6c2b986 格式化4.3章中代码格式 (#736) 2019-11-16 20:29:07 -08:00
Callan Taylor
c588ddea2d Close unclosed files (#735)
* Cose unclosed files

* Close additional unclosed file

* Dont use defer in loop

* Removed missed instances of defer in loop
2019-11-12 20:28:23 -08:00
shikisama
f8e42d0001 练习7.9题目描述更加完整清晰 (#734) 2019-11-01 17:01:58 -07:00
max-workspace
2476ea9806 采用斜体的形式完善译者注 (#733)
* 增加示例函数的注释

* 采用斜体完善注解内容
2019-10-31 23:11:28 -07:00
Benji
cd294e0f30 Fix typo 'strcut' in 10.1md (#728) 2019-10-18 17:56:45 -07:00
SoniaChoo
f462e39fa6 更新第十章timezones.go练习题答案 (#722)
* 根据map章节的教程,改写String方法

* format the source code

* update to make it more friendly to new learners.

* Update according to comments
2019-10-15 13:59:06 -07:00
TalonsLee
fb89ea48f2 Minor fix to the return type of syscall.Open() (#725)
syscall.Open() returns a syscall.Errno, not an int. Minor fix to the
sample code and description.

Signed-off-by: Talons Lee <talons.lee@gmail.com>
2019-10-14 18:38:36 -07:00
DongGang
d112ab4821 优化14.2翻译 (#721) 2019-10-09 21:17:42 -07:00
Ricardo-lu
067a31f946 Update 15.3.md, Add a link (#719) 2019-09-24 09:54:36 -07:00
Kilua
d1ae94dadd 修正12.3章中的提示 (#717)
* 修正12.3章中的提示

* 根据liuhm98的意见,重新对12.3章末尾的提示做了修正
2019-09-06 15:53:33 -07:00
Alan
c07cc53168 修复打印的斐波那契数列出现0的问题 (#713)
因为 chan c 中并没有把最开始放入的0给移除,造成打印数列中多出一个错误的0值。
2019-08-17 05:34:35 +08:00
marjune
50c2158fe0 Add chapter 19.9 19.10 (#710)
* add chapter 19.9

* add chapter 19.10
2019-08-06 09:24:17 -07:00
marjune
73ee3cf45a Update README.md (#711) 2019-08-06 09:23:56 -07:00
marjune
7132732fe3 add chapter 19.8 (#709) 2019-08-05 23:31:59 -07:00
marjune
b7e98f060a Improve 19.3 (#708) 2019-08-05 20:12:31 -07:00
marjune
dce192535f Add chapter 19.6 19.7 (#707)
* add chapter 19.6

* add chapter 19.7
2019-08-05 18:18:24 -07:00
marjune
5f1946c316 add missiong content for 19.3 (#706) 2019-08-05 00:20:08 -07:00
marjune
162a9c119a add chapter 19.5 (#705) 2019-08-04 00:23:02 -07:00
marjune
6ed73bf4f5 Move images (#704)
* refactor: merge image directories into one

```bash
git mv -v images/* eBook/images/
sed -i -e 's;../images;images;g' eBook/*.md
```

* use correct chapter number for image names in 4.9

* use correct chapter number for image names in 7.2.4
2019-08-04 00:22:43 -07:00
Soulless
865fb2d64e 使语句通顺些,更容易读懂 (#703)
* 使语句通顺些,更容易读懂

* Update 14.2.md
2019-08-02 14:13:37 -07:00
marjune
1dfd41bd93 add chapter 19.x (#700)
* add chapter 19.x

* add chapter 19.4
2019-08-01 21:16:46 -07:00
yusuf
b242141e22 更新14、15和17章目录 (#702)
* 更新14、15和17章目录

* Update README.md

* 添加章节序号

* 添加章节序号

* 添加代码链接

* 修改错别字

* 删除多余字符

* 修复代码与文件不对应的问题

* 修改代码
2019-08-01 21:16:20 -07:00
marjune
b635a61405 improve chapter 18.8 (#699) 2019-08-01 21:13:21 -07:00
Respawnz
120cb3dccd 14.12 Chaining goroutines 链式协程 (#628)
* Create 14.12.md

* Update 14.12.md

* Update 14.12.md
2019-07-27 19:27:46 -07:00
Respawnz
16cf646cfc 14.10 Multiplexing 复用 (#626)
* Create 14.10.md

* Update 14.10.md

* 这一句不知道怎么翻了

> Continuing with the simple form,the server could launch for each request a function run() in a goroutine that will apply an operation op of type binOp to the ints and then send the result on the reply channel:

Continuing with the simple form,服务器会为每一个请求启动一个协程并在其中执行`run()`函数,此举会将类型为`binOp`的`op`操作返回的int值发送到`replyc`通道。

* Update 14.10.md

* Update 14.10.md

* Update 14.10.md
2019-07-27 19:27:28 -07:00
Respawnz
bf080f6d2b 更新下一节的名字 (#695) 2019-07-27 19:26:57 -07:00
marjune
9be772e9bb Add chapter 17.x (#697)
* improve chapter 15.12

* add chapter 17.2

* add chapter 17.3

* add chapter 17.4
2019-07-27 19:26:44 -07:00
BuTn
4cf547665e 修复IndexFunc函数签名错误 (#698) 2019-07-27 19:26:20 -07:00
marjune
93401d1790 Improve chapter 15 3 (#694)
* improve chapter 15.3

* improve chapter 15.5

* improve chapter 15.6
2019-07-24 17:19:30 -07:00
marjune
cbf71ac059 improve chapter 15 (#693) 2019-07-23 14:32:12 -07:00
honki
51db2202b0 Update 04.5.md (#692) 2019-07-22 04:01:41 -07:00
xiaorenshan
bf6da47355 Update 05.0.md (#690) 2019-07-20 11:42:41 -07:00
marjune
a1f14b61aa Improve chapter 15 (#684)
* improve chapter 15.0

* improve chapter 15.1

* improve chapter 15.2

* improve chapter 15.3

* improve chapter 15.4

* improve chapter 15.6
2019-07-18 20:59:53 -07:00
marjune
e84480c03f add chapter 15.8 (#685) 2019-07-18 20:56:39 -07:00
marjune
e4c10d1d56 add chapter 15.9 (#686) 2019-07-18 20:55:26 -07:00
marjune
c35513e355 add chapter 15.10 (#687) 2019-07-18 20:54:20 -07:00
marjune
0aecb0d588 add chapter 15.11 (#688) 2019-07-18 20:52:06 -07:00