2016-02-15 03:06:34 +00:00
|
|
|
|
# Go语言圣经(中文版)
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2021-12-22 14:27:08 +00:00
|
|
|
|
Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本,仅供学习交流之用。对于希望学习CGO、Go汇编语言等高级用法的同学,我们推荐[《Go语言高级编程》](https://github.com/chai2010/advanced-go-programming-book)开源图书。如果希望深入学习Go语言语法树结构,可以参考[《Go语法树入门——开启自制编程语言和编译器之旅》](https://github.com/chai2010/go-ast-book)。如果想从头实现一个玩具Go语言可以参考[《从头实现µGo语言》](https://github.com/chai2010/ugo-compiler-book)。
|
2018-08-07 06:43:42 +00:00
|
|
|
|
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2016-02-16 07:16:15 +00:00
|
|
|
|
![](cover_middle.jpg)
|
2016-01-18 16:24:03 +00:00
|
|
|
|
|
2016-02-23 01:31:23 +00:00
|
|
|
|
- 项目主页:http://github.com/golang-china/gopl-zh
|
2016-02-15 03:06:34 +00:00
|
|
|
|
- 原版官网:http://gopl.io
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2018-08-14 00:23:41 +00:00
|
|
|
|
|
|
|
|
|
译者信息:
|
|
|
|
|
|
|
|
|
|
- 译者:柴树杉,Github [@chai2010](https://github.com/chai2010),Twitter [@chaishushan](https://twitter.com/chaishushan)
|
|
|
|
|
- 译者:Xargin, https://github.com/cch123
|
|
|
|
|
- 译者:CrazySssst
|
|
|
|
|
- 译者:foreversmart <njutree@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
2021-04-25 14:27:35 +00:00
|
|
|
|
## 关注微信公众号
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<img width="222px" src="https://github.com/chai2010/advanced-go-programming-book/raw/master/css.png">
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<img width="222px" src="https://github.com/chai2010/advanced-go-programming-book/raw/master/cch.png">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2018-08-07 06:34:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 在线预览
|
2016-02-16 07:16:15 +00:00
|
|
|
|
|
2016-10-02 16:23:44 +00:00
|
|
|
|
- https://docs.hacknode.org/gopl-zh/
|
2018-08-07 06:34:48 +00:00
|
|
|
|
- https://books.studygolang.com/gopl-zh/
|
|
|
|
|
- https://wizardforcel.gitbooks.io/gopl-zh/
|
2019-08-30 05:48:53 +00:00
|
|
|
|
- https://docs.hundan.org/gopl-zh/
|
2020-11-30 08:18:04 +00:00
|
|
|
|
- https://book.itsfun.top/gopl-zh/ #每夜自动构建
|
|
|
|
|
|
2016-02-23 01:31:23 +00:00
|
|
|
|
|
2016-08-10 02:22:57 +00:00
|
|
|
|
**注意,在线预览不是最新版,最新以仓库里的内容为准**
|
|
|
|
|
|
2016-02-16 07:16:15 +00:00
|
|
|
|
|
2016-02-15 03:06:34 +00:00
|
|
|
|
### 从源文件构建
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2016-02-15 03:06:34 +00:00
|
|
|
|
先安装NodeJS和GitBook命令行工具(`npm install gitbook-cli -g`命令)。
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2016-02-15 03:06:34 +00:00
|
|
|
|
1. 运行`go get github.com/golang-china/gopl-zh`,获取 [源文件](https://github.com/golang-china/gopl-zh/archive/master.zip)。
|
|
|
|
|
2. 切换到 `gopl-zh` 目录,运行 `gitbook install`,安装GitBook插件。
|
|
|
|
|
3. 运行`make`,生成`_book`目录。
|
|
|
|
|
4. 打开`_book/index.html`文件。
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2016-02-15 03:06:34 +00:00
|
|
|
|
# 版权声明
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2016-02-16 07:16:15 +00:00
|
|
|
|
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/)。
|
|
|
|
|
|
|
|
|
|
![Creative Commons License](./images/by-nc-sa-4.0-88x31.png)
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
|
|
|
|
|
2016-02-15 03:06:34 +00:00
|
|
|
|
严禁任何商业行为使用或引用该文档的全部或部分内容!
|
2015-12-09 07:45:11 +00:00
|
|
|
|
|
2016-02-15 03:06:34 +00:00
|
|
|
|
欢迎大家提供建议!
|