一、字符串处理
1.1 strings 包
- 字符串查找
- 字符串替换
- 字符串分割
- 字符串连接
- 大小写转换
- 字符串修剪
1.2 strconv 包
1.3 bytes 包
1.4 unicode 包
二、时间和日期
2.1 time 包
- Time 类型
- 时间获取
- 时间格式化
- 时间解析
- 时间运算
- 时区处理
2.2 定时器
- Timer
- Ticker
- After 和 Tick
2.3 时区
三、数学运算
3.1 math 包
3.2 math/rand 包
3.3 math/big 包
四、数据结构
4.1 container/list
4.2 container/ring
4.3 container/heap
五、加密和安全
5.1 hash 包
5.2 crypto 包
5.3 crypto/aes
5.4 crypto/rsa
5.5 crypto/tls
六、编码解码
6.1 encoding/json
- JSON 编码
- JSON 解码
- Stream 处理
6.2 encoding/xml
6.3 encoding/base64
6.4 encoding/csv
6.5 encoding/gob
七、模板
7.1 text/template
7.2 html/template
八、日志
8.1 log 包
8.2 结构化日志
九、配置文件
9.1 flag 包
9.2 环境变量
9.3 配置文件解析
十、其他常用库
10.1 context 包
10.2 sync 包
10.3 sort 包
10.4 filepath 包
10.5 os 包
10.6 io/ioutil 包
十一、标准库学习建议
11.1 官方文档阅读
11.2 源码学习
11.3 实践应用
11.4 性能考虑