Skip to content

Commit

Permalink
导入第一章和附录
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 committed Jan 1, 2018
1 parent 51abd6f commit 0146ff4
Show file tree
Hide file tree
Showing 46 changed files with 4,170 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Node rules:
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

## Dependency directory
## Commenting this out is preferred by some people, see
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
node_modules

# Book build output
_book

# eBook build output
*.epub
*.mobi
*.pdf

*.o
*.obj
*.exe

_obj

# macOS
.DS_Store
25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2016 <chaishushan{AT}gmail.com>. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

#
# fix gitbook build error on macOS(node@8.x and gitbook@2.6.7)
#
# gitbook fetch 3.2.3
# gitbook build --gitbook=3.2.3
#
# https://github.com/GitbookIO/gitbook/issues/1774
# https://github.com/GitbookIO/gitbook-cli/blob/master/README.md
#

default:
gitbook build

macos:
gitbook build --gitbook=3.2.3

server:
go run server.go

clean:
-rm -rf _book
15 changes: 15 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Summary

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

0 comments on commit 0146ff4

Please sign in to comment.