morikat
de27d2c788
Fix issue with missing built-in image of the epub generated
2014-02-06 23:11:30 +09:00
astaxie
9db4fb5093
Merge pull request #312 from mikulely/patch-4
...
补上段落结束的句号
2014-01-26 07:03:55 -08:00
astaxie
acc2a78acf
Merge pull request #311 from mikulely/patch-3
...
统一语言和专有名词的大小写
2014-01-26 07:03:38 -08:00
astaxie
5d22044b10
Merge pull request #310 from mikulely/patch-2
...
将链接名和被链接文件名进行统一
2014-01-26 07:03:16 -08:00
astaxie
6051953f6d
Merge pull request #309 from mikulely/patch-1
...
改进对POST和GET的描述
2014-01-26 07:03:06 -08:00
astaxie
d83d9694a3
Merge pull request #307 from mikulely/patch-11
...
将链接名和被链接文件名进行统一
2014-01-26 07:01:16 -08:00
astaxie
26dba46b33
Merge pull request #306 from mikulely/patch-10
...
HTTP作为协议名时统一使用大写(03.0节)
2014-01-26 07:00:23 -08:00
astaxie
5de924009d
Merge pull request #305 from mikulely/patch-9
...
更正笔误
2014-01-26 06:59:54 -08:00
astaxie
7fe72e83f0
Merge pull request #304 from mikulely/patch-6
...
调整示例程序格式
2014-01-26 06:59:33 -08:00
astaxie
9b2cdb6d5a
Merge pull request #303 from mikulely/patch-8
...
修改对close 的描述
2014-01-26 06:59:08 -08:00
astaxie
1d811acf01
Merge pull request #301 from mikulely/patch-4
...
环境变量名采用大写形式
2014-01-26 06:58:43 -08:00
astaxie
c90f4ff69e
Merge pull request #300 from mikulely/patch-3
...
改写"包含分" 语病
2014-01-26 06:58:15 -08:00
astaxie
6cbaf7ec5f
Merge pull request #299 from mikulely/patch-2
...
添加段落结束落下的句号
2014-01-26 06:57:45 -08:00
astaxie
bde2478a1f
Merge pull request #207 from smilefish1987/patch-1
...
Update 10.2.md
2014-01-26 06:54:15 -08:00
Jiaying Ren
b084306226
补上段落结束的句号
2014-01-25 15:11:38 +08:00
Jiaying Ren
2b888f6de3
统一语言和专有名词的大小写
...
+ web => Web
+ GO,go => Go
+ python => Python
+ ruby => Ruby
2014-01-25 13:26:03 +08:00
Jiaying Ren
b1612f0eb5
将链接名和被链接文件名进行统一
2014-01-25 13:20:50 +08:00
Jiaying Ren
ab1eaf3794
改进对POST和GET的描述
...
# 结构上的改进
原来的描述在未引入任何对POST和GET的解释的情况下,先上了两张对POST和GET的抓包图,这势必引起之前没有接触过HTTP协议的同学的困惑。
故将对HTTP POST和 GET的描述放在两张抓图之前,使得条理更加清晰。
# 排版上的调整
1. 将原先中英文句号混用的情况统一成使用中文句号
2. 将原文中 `body` 和 `Body` 混用的情况统一为使用小写版本
3. 将正文中的代码片段使用反斜线进行包裹,如 `EditPosts.aspx?name=test1&id=123456`
2014-01-25 13:17:52 +08:00
Jiaying Ren
0cb2e7817b
将链接名和被链接文件名进行统一
2014-01-25 11:17:10 +08:00
Jiaying Ren
45e093209e
HTTP作为协议名时统一使用大写(03.0节)
...
从下一章看到基本上提到http 这四字母,如果要表示HTTP 协议,都使用了大写。而在表示 net/http 包时都用了小写。故这里表示协议,应该全部大写。
2014-01-25 11:14:21 +08:00
Jiaying Ren
2e13f0c83f
更正笔误
2014-01-23 21:39:23 +08:00
Jiaying Ren
c123d91080
修改对close 的描述
2014-01-23 21:23:13 +08:00
Jiaying Ren
ed8cae764c
调整示例程序格式
...
将程序和输出放在某个代码片段中,应该有格式的统一。
另一个方式是将程序输出放在一个单独的代码片段中,类似 https://gobyexample.com/hello-world
2014-01-23 21:10:57 +08:00
Jiaying Ren
d28ec7bcc7
改进对反射的描述
...
原句中`所谓反射就是动态运行时的状态。`,去掉形容词就是说`反射就是状态`?
按照The Laws of Reflection中的解释: `Reflection in computing is the ability of a program to examine its own structure, particularly through types;`
可以看出反射是程序的一种能力。FYI.
2014-01-23 21:02:54 +08:00
Jiaying Ren
b013829d02
环境变量名应为大写
...
看了下书里提到 goroot 只有一处
> ➜ ebook git:(master) grep goroot *.md
02.3.md:上面这个fmt是Go语言的标准库,其实是去goroot下去加载该模块,当然Go的import还支持如下两种方式来加载自己写的模块:
而fmt 包的位置则是在 `GOROOT` 环境变量指定目录下的 `src/pkg/fmt`中。
2014-01-19 16:48:30 +08:00
Jiaying Ren
b7fb567d1b
改写"包含分" 语病
...
另外这句话中先说了流程控制的好处,再说流程控制的分类时,感觉是在说所有语言的流程控制。所以还是明确限定成Golang比较好。
因为毕竟并不是所有的语言都有goto。
2014-01-18 19:20:17 +08:00
Jiaying Ren
12c6bfaeb8
添加段落结束落下的句号
2014-01-18 19:13:07 +08:00
astaxie
93fb25eac5
Merge pull request #295 from mikulely/patch-1
...
添加段落结束落下的句号
2014-01-17 17:46:30 -08:00
Jiaying Ren
e1ce235b48
操作系统名采用统一的首字母大写。
...
> `go build`的时候会选择性地编译以系统名结尾的文件(linux、darwin、windows、freebsd)。例如Linux系统下面编译只会选择array_linux.go文件,其它系统命名后缀文件全部忽略。
这句话里两次说到Linux,一次大写,一次小写。
2014-01-17 18:24:44 +08:00
Jiaying Ren
47b1ed6159
添加段落结束落下的句号
2014-01-17 18:20:22 +08:00
Siong-Ui Te
eef1ae7a25
裡===》里
2014-01-08 10:28:35 +08:00
Siong-Ui Te
bfc802af6a
轉簡體字
2014-01-08 10:16:09 +08:00
Siong-Ui Te
61afa2e487
新增database/sql教學網站
2014-01-08 03:40:29 +08:00
MatrixYuri
82615dce16
Add some output
...
添加了示例代码的一些实际输出信息,以及报错的内容
2014-01-02 00:35:43 +08:00
Shin Kojima
dfe2104969
Add config as language file
...
This patch will change several behaviour while generating the ebook:
- `build.go` now accepts two environment variables: TMP, WORKDIR
* TMP:
Temporary directory path.
The directory stores intermediate files like '*.html' or metadata.txt.
* WORKDIR:
Script base directory.
- `config` as language file
config file will be `source`d to change its ebook metadata.
- `genepub.sh` is integrated to `build.sh` and `build.go`
See `FixHeader` and `RemoveFooterLink` functions.
2013-12-31 13:10:27 +09:00
Larry Battle
7f37709985
Shorter example and formatting.
...
- Refactored the last example because it was too long.
- Output should be a comment.
2013-12-02 16:41:14 -06:00
Larry Battle
00da0c0428
Corrected format for Description
...
Corrected format for `Description`
2013-11-26 01:18:02 -06:00
astaxie
ea4da01926
Merge pull request #273 from 6yf/patch-5
...
微小改动
2013-11-23 19:17:45 -08:00
astaxie
09eec3897b
Merge pull request #272 from 6yf/patch-4
...
“显示的”=>“显式的”; rob => Rob
2013-11-23 19:17:22 -08:00
astaxie
adacad23b0
Merge pull request #271 from 6yf/patch-3
...
A few typos & minor improvement: Sayhi => SayHi, etc.
2013-11-23 19:16:31 -08:00
astaxie
69db3f1f6a
Merge pull request #270 from 6yf/patch-2
...
合并两次b.Volume()为一次调用
2013-11-23 19:15:54 -08:00
6yf
d84679fa2f
微小改动
2013-11-22 17:09:24 +08:00
6yf
c3111e47fc
“显示的”=>“显式的”; rob => Rob
2013-11-22 16:34:16 +08:00
6yf
7587f3bc77
A few typos & minor improvement: Sayhi => SayHi, etc.
...
小细节改进。谢谢老谢分享的大作,很适合学习Go。
2013-11-22 16:12:41 +08:00
6yf
b72131c99f
合并两次b.Volume()为一次调用
...
合并两次b.Volume()为一次调用,培养注重效率的习惯,充分利用Go的if可设初始值的特性。
2013-11-22 14:59:57 +08:00
6yf
e9fe09175a
Update 02.5.md
...
结尾处“共有”改为“公有”。
2013-11-22 14:35:02 +08:00
ahjdzx1990
4a16a02ccb
Update 01.5.md
...
“然后结束了”改为“然后介绍了”
2013-11-16 17:51:55 +08:00
jasonz
3c0070062f
fix typo
2013-11-14 00:09:12 +08:00
vincent
55d70bd1db
Update 01.4.md
...
补充sublime+gosublime插件无提示可能出现的情况及其解决方案
2013-10-26 15:37:39 +08:00
Daniel YC Lin
722bd047ed
describe thread safety of 'map'
2013-09-27 14:44:30 +08:00