Skip to content

Commit

Permalink
docs(dir): 更新大纲
Browse files Browse the repository at this point in the history
  • Loading branch information
minibear2333 committed Jun 27, 2021
1 parent 594057d commit 2d3cfc5
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 13 deletions.
2 changes: 1 addition & 1 deletion blog/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ disableKinds = ['taxonomy', 'taxonomyTerm']

# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo = 'https://github.com/minibear2333/golang'
BookRepo = 'https://github.com/golang-minibear2333/golang'

# Specifies commit portion of the link to the page's last modified commit hash for 'doc' page
# type.
Expand Down
6 changes: 6 additions & 0 deletions blog/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@

虽然网上有很多入门与实战方面的书籍,但我想总结一下我工作或学习过程中接触到的知识,以供查阅。

## 关于版权

本书可能会借鉴其他书籍资料,一起网络图片,本书不作为商业用途,仅供学习交流,所借鉴内容来源于网络,会在文章末尾处标记引用位置。如源文章标记禁止引用则不会引用。

因本书开源社区共同维护,难以控制,如有侵权,请留言提出,会在第一时间做出调整修改。

## 批评和建议

如果有任何建议或疑问欢迎随时在本书的评论区与我交流,会尽量在 1-2 天内回复你。
55 changes: 45 additions & 10 deletions blog/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,50 @@ headless: true
* [4.2 channel](4.concurrent/channel)
* [4.3 select](4.concurrent/select)
* [4.4 设置超时](4.concurrent/timeout)
* **时间处理与定时任务**
* [设置可热更新的定时器](a.timer/reset/reset-time)
* **常用操作**
* [1.1 Go文件操作大全](番外.常用操作/Go文件操作大全)
* [1.2 Go代码基本标准规范](番外.常用操作/Go代码基本标准规范)
* [1.3 切片排序sort包的使用](番外.常用操作/切片排序sort包的使用)
* [1.4 Go与Dockerfile](番外.常用操作/Golang打镜像Dockerfile的写法)
* [1.5 goroutine等待](番外.常用操作/等待goroutine完成任务_循环中使用goroutine)
* [1.6 命令行操作](番外.常用操作/flag包读取命令行配置)
* [2. 小工具](tools/README)
* **go陷阱与缺陷**
* [goroutine等待](番外.常用操作/等待goroutine完成任务_循环中使用goroutine)
* 并发安全
* 协程池
* 消费者生产者框架
* **第x章、反射**
* **第五章、性能调优**
* cpu调度
* 内存管理
* 垃圾回收
* PProf
* 逃逸分析
* 链路追踪
* 自监控
* **第六章、调试与测试**
* 调试
* 单元测试
* mock
* 自动化测试
* **第七章、标准库**
* [Go代码基本标准规范](番外.常用操作/Go代码基本标准规范)
* 时间处理
* 字符串处理
* [文件操作](番外.常用操作/Go文件操作大全)
* [排序](番外.常用操作/切片排序sort包的使用)
* [命令行操作](番外.常用操作/flag包读取命令行配置)
* 跨平台编译
* **第八章、优秀开源组件**
* 日志
* 配置管理
* 接口文档
* 错误码控制
* 数据库连接
* 为开源项目贡献代码
* **第十章、分布式系统**
* 分布式ID生成器
* 分布式锁
* 分布式一致性算法
* **第x章、web应用**
* **第x章、微服务**
* **第x章、服务治理**
* **第x章、GO语言版本分析**
* **番外1、拓展应用**
* [小工具](tools/README)
* [Go与Dockerfile](番外.常用操作/Golang打镜像Dockerfile的写法)
* **番外2、陷阱与缺陷**
* [range的第二个值实际上是值拷贝](impossible/range/README)
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@
`
```

如果有其他建议欢迎补充
## 接入自动格式化检查

## 接入自动化代码缺陷扫描
3 changes: 2 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ function buildFun() {
echo pwd: `pwd`
cp -r blog blog.bak
mv blog.bak ../
cd ../
cd ../blog.bak && hugo -D
cd ..
rm -rf ./golang-minibear2333.github.io/*
mv blog.bak/public/* ./golang-minibear2333.github.io/
rm -rf blog.bak/
Expand Down

0 comments on commit 2d3cfc5

Please sign in to comment.