恢复本地 mdbook 第一章开头
This commit is contained in:
parent
f5241a423d
commit
4126a1bcc8
|
@ -1,3 +0,0 @@
|
|||
# only for gitbook
|
||||
|
||||
/vendor
|
|
@ -1,40 +1,5 @@
|
|||
# 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
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
|
||||
*.a
|
||||
*.lib
|
||||
*.so
|
||||
*.dll
|
||||
*.obj
|
||||
*.o
|
||||
a.out
|
||||
|
||||
.oracle_jre_usage
|
||||
|
||||
# Delve
|
||||
debug
|
||||
|
||||
# ide
|
||||
.idea/
|
||||
/_book
|
||||
/book
|
||||
|
||||
*.out*
|
||||
_zz*
|
||||
|
|
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@
|
|||
#
|
||||
|
||||
default:
|
||||
mdbook build
|
||||
mdbook serve
|
||||
|
||||
macos:
|
||||
gitbook build --gitbook=3.2.3
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[Go语言定制指南](index.md)
|
||||
[前言](preface.md)
|
||||
|
||||
* [第1章 语言基础](ch1-basic/readme.md)
|
||||
* [语言基础](ch1-basic/readme.md)
|
||||
|
||||
<!--
|
||||
* [1.1 Go语言创世纪](ch1-basic/ch1-01-genesis.md)
|
||||
|
|
|
@ -4,4 +4,6 @@
|
|||
|
||||
*搬砖民工也会建成自己的罗马帝国。——小张*
|
||||
|
||||
---
|
||||
|
||||
本章首先简要介绍 Go 语言的发展历史,并较详细地分析了“Hello World”程序在各个祖先语言中演化过程。然后,对以数组、字符串和切片为代表的基础结构,对以函数、方法和接口所体现的面向过程和鸭子对象的编程,以及 Go 语言特有的并发编程模型和错误处理哲学做了简单介绍。最后,针对 macOS、Windows、Linux 几个主流的开发平台,推荐了几个较友好的 Go 语言编辑器和集成开发环境,因为好的工具可以极大地提高我们的效率。
|
||||
|
|
Loading…
Reference in New Issue