55
GitHub - zc2638/go-standard: Go标准库所有方法使用示例,请注意这不是Go的中文版标...
source link: https://github.com/zc2638/go-standard
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
go-standard
Go标准库所有使用方法例子,请注意这不是Go的中文版标准库
简介
- archive tar/zip压缩操作
- bufio 有缓冲的I/O
- bytes 操作[]byte字节片
- compress bzip2/flate/gzip/lzw/zlib压缩操作
- container 堆操作/双向链表/环形链表
- context 上下文类型
- crypto 常用的密码(算法)
- database/sql 数据库接口
- encoding 数据编码
- errors 创建错误函数
- expvar 公共变量
- flag 命令行参数解析
- fmt 格式化I/O
- hash 提供hash函数的接口
- html 转义和解转义HTML文本
- image 实现了基本的2D图片库
- index/suffixarray 使用内存后缀数组以对数时间实现子字符串搜索
- io I/O操作
- log 简单的日志服务
- math 基本的数学常数和数学函数
- mime 实现了MIME的部分规定
- net 提供了可移植的网络I/O接口,包括TCP/IP、UDP、域名解析和Unix域socket
- os 操作系统函数
- path 对斜杠分隔的路径的实用操作
- plugin 插件生成和加载
- reflect 反射操作任意类型对象
- regexp 正则表达式
- rutime 提供和go运行时环境的互操作,如控制go程的函数
- sort 排序切片和用户自定义数据集
- strconv 基本数据类型和其字符串类型的相互转换
- strings 操作字符串
- sync 提供了基本的同步基元,如互斥锁
- text 文本操作
- time 时间操作
- unicode unicode操作
- unsafe 提供了一些跳过go语言类型安全限制的操作
参考
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK