常使用的pkg库。
go get github.com/zhufuyi/pkg@latest
- app 优雅的启动和停止服务
- awss3 aws s3客户端
- cache 内存和redis缓存
- conf 解析yaml、json、toml配置文件
- consulcli 客户端
- container 客户端
- dingtalk 钉钉机器人客户端
- email 发邮件客户端
- encoding json、proto和gob编解码
- errcode http和rpc错误码
- gin 相关
- grpc 相关
- gobash bash命令
- gocron 定时任务
- gocrypto 加密解密
- gofile 文件处理
- gohttp http客户端
- goredis redis客户端
- gotest 测试库
- jwt 鉴权
- jy2struct json或yaml转struct
- krand 随机数和字符串生成器
- logger 日志
- mconf 文本处理
- mongo 客户端
- mysql 客户端
- nats 客户端
- prof go profile
- redis 客户端
- replacer 替换模板内容
- servicerd 服务注册与发现
- shield 自适应限流和熔断
- snowflake id生成器
- sql2code 根据sql生成不同用途代码
- stat 系统和进程资源统计
- tracer 链路跟踪
- utils