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
astaxie
bc342b8128
Merge pull request #302 from mikulely/patch-5
...
改进对反射的描述
2014-01-23 18:02:23 -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
astaxie
40124507ae
Merge pull request #296 from mikulely/patch-2
...
操作系统名采用统一的首字母大写。
2014-01-17 17:46:15 -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
astaxie
c09adb18ff
Merge pull request #291 from siongui/master
...
新增database/sql教學網站
2014-01-08 04:48:37 -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
astaxie
ee4fdad810
Merge pull request #289 from MatrixYuri/master
...
Add some output
2014-01-03 04:53:08 -08:00
MatrixYuri
82615dce16
Add some output
...
添加了示例代码的一些实际输出信息,以及报错的内容
2014-01-02 00:35:43 +08:00
astaxie
1588989522
Merge pull request #287 from ernix/ja
...
Add japanese translation
2013-12-30 22:51:36 -08:00
astaxie
fbb74228c0
Merge pull request #286 from ernix/i18n
...
Add `config` as language file
2013-12-30 20:38:13 -08:00
Shin Kojima
7c3312ae9d
[ja] Add script symlinks
2013-12-31 13:29:19 +09: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
Shin Kojima
dfc98fb619
[ja] keep crlf in original documents
2013-12-26 22:19:49 +09:00
Shin Kojima
adf237dc0c
[ja] Remove original text from translated documents.
2013-12-26 21:16:06 +09:00
Shin Kojima
9e6e34b775
[ja] Copy images sym link
2013-12-26 20:39:34 +09:00
Shin Kojima
9d1b450457
[ja] Translate ref.md into Japanese
2013-12-26 20:35:58 +09:00
Shin Kojima
715913c248
[ja] Add missing book image
2013-12-26 01:29:54 +09:00
Shin Kojima
507f2a2df5
Merge branch 'master' into ja
2013-12-26 01:25:27 +09:00
Shin Kojima
67317b6eac
[ja] apply patch
2013-12-26 01:23:22 +09:00
Shin Kojima
230f66f336
Merge commit '7f377099859f6930678d18fcba0498f15a47f92d' into ja
2013-12-26 01:22:40 +09:00
Shin Kojima
eeca07030f
[ja] apply patch
2013-12-26 01:22:33 +09:00
Shin Kojima
1d836e1874
Merge commit '00da0c0428318d759f81b628415384a8b9d881e2' into ja
2013-12-26 01:21:55 +09:00
Shin Kojima
ef9214ca74
[ja] apply patch
2013-12-26 01:21:32 +09:00
Shin Kojima
c99fda2278
Merge commit 'd84679fa2f3528a6c89abb8ba20d1c046a5a5453' into ja
2013-12-26 01:17:16 +09:00
Shin Kojima
20d25850bd
Merge commit 'c3111e47fcd2a83edc5d370962cf99adc96b2c82' into ja
2013-12-26 01:14:26 +09:00
Shin Kojima
eea0710898
[ja] apply patch
2013-12-26 01:14:22 +09:00
Shin Kojima
816ffbace2
Merge commit '7587f3bc775860e49f9345afca6ae5e3916cbb30' into ja
2013-12-26 01:02:45 +09:00
Shin Kojima
62f4a7fb99
[ja] apply patch
2013-12-26 01:01:27 +09:00
Shin Kojima
2745528cb8
Merge commit 'b72131c99f20b04f4af6b9917e891e139024fb94' into ja
2013-12-26 01:01:07 +09:00
Shin Kojima
09369d9b9c
Merge commit 'e9fe09175a89f2a3da36cf4b1ad6d88a781ee5b7' into ja
2013-12-26 00:59:49 +09:00
Shin Kojima
569ac2e878
[ja] apply patch
2013-12-26 00:59:44 +09:00
Shin Kojima
2b7db52405
Merge commit '4a16a02ccb546306d1c8a834c9ed6e8fa96f6954' into ja
2013-12-26 00:56:47 +09:00
Shin Kojima
d34e388c03
[ja] apply patch
2013-12-26 00:56:44 +09:00