Go to file
2016-01-03 20:55:55 +08:00
ch0 zz 2016-01-02 20:57:12 +08:00
ch1 make loop 2015-12-28 15:59:28 +08:00
ch2 make loop 2015-12-28 15:59:28 +08:00
ch3 make loop 2015-12-28 15:59:28 +08:00
ch4 ch4-1 review 2016-01-03 20:55:55 +08:00
ch5 zz 2016-01-03 10:31:30 +08:00
ch6 ch6-2: 子章节放到独立文件 2016-01-02 21:53:14 +08:00
ch7 make loop 2016-01-03 20:35:38 +08:00
ch8 ch8-4 header 2016-01-03 12:07:46 +08:00
ch9 zz 2016-01-03 10:31:30 +08:00
ch10 make loop 2015-12-28 15:59:28 +08:00
ch11 make loop 2015-12-28 15:59:28 +08:00
ch12 ch12-07 done 2016-01-02 15:55:52 +08:00
ch13 make loop 2015-12-28 15:59:28 +08:00
docs update cover 2015-12-22 15:38:02 +08:00
images zz 2015-12-29 13:37:03 +08:00
tools add STPhrases.txt 2015-12-18 11:07:27 +08:00
vendor/gopl.io good good study, day day up! 2015-12-09 15:45:11 +08:00
.gitignore good good study, day day up! 2015-12-09 15:45:11 +08:00
book.json fix gitbook warning 2016-01-01 00:07:42 +08:00
CONTRIBUTORS.md Update CONTRIBUTORS.md 2015-12-31 20:27:39 +08:00
cover_bgd.png good good study, day day up! 2015-12-09 15:45:11 +08:00
cover_patch.png make support generate cover 2015-12-22 15:17:55 +08:00
cover_small.jpg update cover 2015-12-22 15:38:02 +08:00
cover.jpg update cover 2015-12-22 15:38:02 +08:00
doc.go good good study, day day up! 2015-12-09 15:45:11 +08:00
errata.md zz 2015-12-23 16:27:04 +08:00
GLOSSARY.md update tw 2015-12-18 10:53:03 +08:00
LICENSE good good study, day day up! 2015-12-09 15:45:11 +08:00
make.bat make 2015-12-16 10:55:14 +08:00
Makefile ch3,ch3-01 review 2015-12-27 15:13:12 +08:00
preface.md update README.md 2015-12-29 16:15:39 +08:00
progress.md Update progress.md 2016-01-03 19:56:39 +08:00
README.md zz 2015-12-29 17:46:44 +08:00
SUMMARY-github.md make loop 2016-01-03 10:31:20 +08:00
SUMMARY.md ch8-5: 修复标题 2016-01-03 10:44:15 +08:00
trans-terms.md make loop 2015-12-18 14:49:31 +08:00
zh2tw.go update zh2tw.go: 获 -> 獲 2015-12-28 15:56:53 +08:00

Go語言聖經中文版

Go語言聖經 《The Go Programming Language》 中文版本,僅供學習交流之用。

從源文件構建

先安裝NodeJS和GitBook命令行工具(npm install gitbook-cli -g命令)。

  1. 下載 https://github.com/golang-china/gopl-zh/archive/master.zip ,獲取源文件。
  2. 切換到 gopl-zh 目録,運行 gitbook install安裝GitBook插件。
  3. 運行gitbook build,生成_book目録。
  4. 打開_book/index.html文件。

簡體/繁體轉換

切片到 gopl-zh 目録:

  • make zh2twgo run zh2tw.go . "\.md$" zh2tw,轉繁體。
  • make tw2zhgo run zh2tw.go . "\.md$" tw2zh,轉簡體。

如果是使用簡體中文的用戶,可在執行上述命令前運行make tw2zh命令,將繁體中文轉換爲簡體中文。

Markdown 格式預覽

版權聲明

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Creative Commons License

嚴禁任何商業行爲使用或引用該文檔的全部或部分內容!

歡迎大家提供建議!