Go to file
2015-12-30 14:17:10 +08:00
ch0 make loop 2015-12-28 15:59:28 +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-04-1 done 2015-12-30 14:17:10 +08:00
ch5 make loop 2015-12-28 15:59:28 +08:00
ch6 make loop 2015-12-28 15:59:28 +08:00
ch7 make loop 2015-12-26 20:05:30 +08:00
ch8 make loop 2015-12-29 16:15:56 +08:00
ch9 make loop 2015-12-18 14:49:31 +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 make loop 2015-12-28 15:59:28 +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 zz 2015-12-28 21:55:06 +08:00
CONTRIBUTORS.md zz 2015-12-23 16:42:00 +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 2015-12-29 21:10:04 +08:00
README.md zz 2015-12-29 17:46:44 +08:00
SUMMARY-github.md ch4-02-1.md done 2015-12-29 11:22:08 +08:00
SUMMARY.md ch4-02 header 2015-12-28 21:27:09 +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

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

歡迎大家提供建議!