Skip to content

Commit 0146ff4

Browse files
committed
导入第一章和附录
1 parent 51abd6f commit 0146ff4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4170
-0
lines changed

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Node rules:
2+
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
3+
.grunt
4+
5+
## Dependency directory
6+
## Commenting this out is preferred by some people, see
7+
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
8+
node_modules
9+
10+
# Book build output
11+
_book
12+
13+
# eBook build output
14+
*.epub
15+
*.mobi
16+
*.pdf
17+
18+
*.o
19+
*.obj
20+
*.exe
21+
22+
_obj
23+
24+
# macOS
25+
.DS_Store

Makefile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright 2016 <chaishushan{AT}gmail.com>. All rights reserved.
2+
# Use of this source code is governed by a BSD-style
3+
# license that can be found in the LICENSE file.
4+
5+
#
6+
# fix gitbook build error on macOS([email protected] and [email protected])
7+
#
8+
# gitbook fetch 3.2.3
9+
# gitbook build --gitbook=3.2.3
10+
#
11+
# https://github.com/GitbookIO/gitbook/issues/1774
12+
# https://github.com/GitbookIO/gitbook-cli/blob/master/README.md
13+
#
14+
15+
default:
16+
gitbook build
17+
18+
macos:
19+
gitbook build --gitbook=3.2.3
20+
21+
server:
22+
go run server.go
23+
24+
clean:
25+
-rm -rf _book

SUMMARY.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Summary
2+
3+
* [第一章 语言基础](ch1-basic/readme.md)
4+
* [1.1. Go语言创世纪](ch1-basic/ch1-01-genesis.md)
5+
* [1.2. Hello, World 的革命](ch1-basic/ch1-02-hello-revolution.md)
6+
* [1.3. 数组、字符串和切片](ch1-basic/ch1-03-array-string-and-slice.md)
7+
* [1.4. 函数、方法和接口](ch1-basic/ch1-04-func-method-interface.md)
8+
* [1.5. 面向并发的内存模型](ch1-basic/ch1-05-mem.md)
9+
* [1.6. 常见的并发模式](ch1-basic/ch1-06-goroutine.md)
10+
* [1.7. 错误和异常](ch1-basic/ch1-07-error-and-panic.md)
11+
* [1.8. 配置开发环境](ch1-basic/ch1-08-ide.md)
12+
* [附录](appendix/readme.md)
13+
* [附录A: Go语言常见坑](appendix/appendix-a-trap.md)
14+
* [附录B: 参考资料](appendix/appendix-b-ref.md)
15+
* [附录C: 作者简介](appendix/appendix-c-author.md)

0 commit comments

Comments
 (0)