Go语言超详细学习知识体系 |
|
Go编程入门 |
- 基础语法
- 环境安装
- 下载地址 https://golang.google.cn/dl/
- GOPATH、GOROOT两个关键环境变量
- 基础结构
- 包的概念
- 程序执行过程--->import package-->init-->main
- 数据类型和变量
- 常量const
- 变量var、:=
- 基础类型
bool
整型
string字符串
错误类型 error
- 复杂数据类型
- 数组和切片slice
- map
- struct结构体
- interface接口
- 指针
- 控制流程
- while
- if
- switch
- for
- 并发与通信
- Goroutine 协程
- Channel 管道
- 函数
- 方法
- 函数类型
- Go标准库常用包
- 文件 os.file 包
- 时间和日期及定时器 time包
- 数据协议解析 encoding/json 、encoding/xml
- 字符串处理 strings
- 正则处理 regexp
- 网络处理 net
- 锁与同步 sync
- 入门书籍推荐
- 《Go语言实战》作者:BrianKetelsen
- 《Go语言学习笔记》作者:雨痕
- 《Go语言圣经》
Go常用编辑器及IDE |
- 高手级
- Vim+vim-go插件
- Goland
- LiteIDE
- sublime
Go高级编程 |
- Go调度器GPM模型
- Go的内存布局
- Go指针高级
- Go与C混合编程 Cgo模块
- 垃圾自动回收机制 GC
- Goroutine调度
- Channel调度
- channel阻塞机制
- 带缓冲与无缓冲Channel
Go工具链 |
▼Go指令
- go get 下载安装第三方库
- git
- proxy
- go install 安装编译第三方库
▼编译优化
- string和[]byte
- 逃逸优化
- 函数内联
- GC优化
- vendoring
- 交叉编译
- Go调用C语言
- Python读取Go
- Ruby读取Go
- Swift读取Go
- Go编译共享库so
Go与区块链 |
- go-ethereum(以太坊)
- go-ipfs
- hyperledger fabric(最热区块链框架)
- eos-go(新一代DPOS机制)
Go社区 |
- Go中国社区
- Go Forum 国外主流论坛
- Go 中国邮件列表
- Gopher大会
- Gopher China 2015
- Gopher China 2016
- Gopher China 2017
- Gopher China 2018
- GopherChina
- 其他国家大会列表
- Go头像制作
Go开源项目 |
▼Web框架
- beego(中国出品)
- gin(轻量级)
- martini
- echo
- revel
- iris
▼静态建站工具
- hugo
▼WebServer
- caddy
▼微服务
- go-kit
- go-micro
- istio
▼人工智能
- go-learn(机器学习)
▼游戏
- pixel(2d-3d游戏引擎)
- g3n/engine(3D建模游戏引擎)
▼云计算容器
- moby
- rkt
- Pouch
▼容器编排
- Kubernetes
- swarm
▼服务发现
- Consul
▼云计算Function
- Faas
- apex
▼DevOps一体化自动运维管理
▼Monitor
- Prometheus
- cadvisor
- ctop
- beats
▼Dev
- rancher
- minikube
- packer
▼Key/Value存储
- etcd
- bolt
▼时序数据库
- influxdb
▼分布式数据库
- cockroach
- tidb
▼图形数据库
- cayley
▼其他
- noms
- vitess
系统工具/命令行工具 |
- ngrok
- frp
- gotty
- micro
- kcptun
- wuzz
- v2ray-core
- termui
- cow
- teleport
- comcast
- wego
- gogs
中间件 |
- traefik
- codis
- logrus
- https://github.com/sirupsen/logrus
- groupcache
- rpc
- grpc
①https://grpc.io
❶rpcx
a. https://github.com/smallnest/rpcx
测试/持续交付 |
- drone
- terraform
- goreplay
- delve
图像处理 |
- primitive
- caire
安全 |
- vault
- vuls
爬虫 |
- goquery
文件系统 |
- ransfer.sh
- seaweedfs
- minio
- syncthing
- rclone
参考文献: