golang常用的工具包
1. 一个巨好用的泛型库,可以极大提高开发速度
https://github.com/samber/lo https://github.com/samber/lo
2. 类型转换
https://goframe.org/pages/viewpage.action?pageId=1114677
3. 代码生成工具
Go图形化生成代码工具、Go微服务_灬点点的博客-CSDN博客_go图形化
4. 根据数据库生成struct
GitHub - Licoy/dbstruct: dbstruct是一款将数据库表一键转换为Golang Struct的应用程序,支持自定义Tag和多种命名格式配置。
5. gotool首页、文档和下载 - go开发者工具 - Go语言中文网 - Golang中文社区
6. https://github.com/davecheney/httpstat 500行代码确认请求时间花在哪
7. go get github.com/tidwall/gjson 方便地从一个 JSON 串中读取值,具体使用参考:Go 每日一库之 gjson - 知乎
8. gookit/goutil/dump 打印工具
https://github.com/Henry-Sarabia/blank 删除字符中间空格
https://github.com/psampaz/slice slice处理
https://github.com/brianvoe/gofakeit 自动生成数据 moke使用
[go-funk](https://github.com/thoas/go-funk) - 现代Go实用程序库,提供了帮助程序(映射,查找,包含,过滤器,块,反向等)
[gpath](https://github.com/tenntenn/gpath) - 使用Go的反射形式简化访问结构字段的库。
[pgo](https://github.com/arthurkushman/pgo) - PHP社区的便捷功能
http://www.voidcc.com/project/goqu sql构建器
https://github.com/Bingjian-Zhu/go-grpc-example
https://github.com/envoyproxy/protoc-gen-validate
https://mholt.github.io/json-to-go/
https://github.com/xinliangnote
https://gitee.com/anggege888/gormt/tree/master mysql数据库转 struct 工具,可以将mysql数据库自动生成golang sturct结构,带大驼峰命名规则。带json标签
https://github.com/Licoy/dbstruct 根据数据库生成struct
https://github.com/senghoo/golang-design-pattern go各种设计模式
https://www.topgoer.com/%E5%85%B6%E4%BB%96/gjson.html 可以方便地从一个 JSON 串中读取值
https://github.com/rubenv/sql-migrate migrate工具
https://studygolang.com/p/asgard 任务管理系统
https://studygolang.com/p/lazydocker docker可视化工具
https://blog.csdn.net/qq_32447301/article/details/113854581 代码生成工具
https://github.com/xinliangnote/Encrypt 多项加密的库,
GitHub - envoyproxy/protoc-gen-validate: protoc plugin to generate polyglot message validators:proto校验
GitHub - google/gnostic: A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks. :proto生成api文档
https://github.com/mitchellh/mapstructure 一个map转struct的包
golang常用的工具包相关推荐
- golang常用库:字段参数验证库-validator使用
一.背景# 在平常开发中,特别是在web应用开发中,为了验证输入字段的合法性,都会做一些验证操作.比如对用户提交的表单字段进行验证,或者对请求的API接口字段进行验证,验证字段的合法性,保证输入字段值 ...
- golang常用库之-mgo.v2包、MongoDB官方go-mongo-driver包、七牛Qmgo包 | go操作mongodb、mongodb bson
文章目录 golang常用库之-mgo.v2包.MongoDB官方go-mongo-driver包.七牛Qmgo包 | go操作mongodb.mongodb bson 一.[不推荐]mgo.v2包 ...
- viper4android io错误,golang常用库之配置文件解析库-viper使用详解
一.viper简介 viper 配置管理解析库,是由大神 Steve Francia 开发,他在google领导着 golang 的产品开发,他也是 gohugo.io 的创始人之一,命令行解析库 c ...
- golang常用库之-文件操作(os、path、filepath、ioutil包)、Go 读文件、Go 写文件
文章目录 golang常用库之-文件操作
- golang常用库之-uuid相关库(satori/go.uuid、google/uuid)
文章目录 golang常用库之-uuid相关库
- golang常用库之mapstructure包 | 多json格式情况解析、GO json 如何转化为 map 和 struct、Go语言结构体标签(Struct Tag)
文章目录 golang常用库之mitchellh/mapstructure包 | go将map转换为struct 一.msgpack 二.背景 三.多json格式情况解析使用思路 四.mapstruc ...
- golang常用库之-操作redis go-redis/redis库、 go-redsync/redsync库(redis分布式锁)
文章目录 golang常用库之-操作redis go-redis/redis库. go-redsync/redsync库(redis分布式锁) 一.什么是go-redis/redis库 go-redi ...
- golang常用库之- pierrec/lz4包 | lz4命令、lz4压缩算法(高压解速度)
文章目录 golang常用库之-golang常用库之- pierrec/lz4包 | lz4压缩算法(高压解速度) LZ4压缩算法 lz4使用场景 lz4命令工具安装和使用 pierrec/lz4包 ...
- Golang常用库学习
Golang常用库学习 标准库fmt 标准库log 标准库time 标准库strconv 标准库 testing 单元测试 简单测试 单元测试覆盖率统计 表格驱动测试 性能(基准)测试 标准库 os ...
最新文章
- .NET 指南:枚举的设计
- Distinction Between Strategy and Decorator
- MongoDB用户授权和管理
- python实现快速创建订单_从销售订单和Od中的产品订单创建新记录
- C# 控件双缓冲控制 ControlStyles 枚举详解
- mysql server8 jdbc_mysql8.0 jdbc连接注意事项
- .NET连接SAP系统专题:C#如何导入内文至SAP(十一)
- 派生类的构造复制与析构
- 【数字信号去噪】基于matlab小波软阈值+硬阈值+改进阈值轴承故障仿真信号去噪【含Matlab源码 1024期】
- c++ vector,list,deque,map,set,hash_map 特点及区别
- Java中this关键字详解
- vb调用python函数_vb.net / C# 调用 python
- MySQL Workbench 8.0 CE卸载不了
- Springboot毕设项目眼镜店管理系统1m12ajava+VUE+Mybatis+Maven+Mysql+sprnig)
- 基于KINECT的拖拉机防撞系统
- 银行业务光凭“刷脸”真的靠谱吗
- 服务器系统补丁失败,Windows Server 2016安装累积更新补丁失败
- 爱测未来安全-浅淡流量劫持及应对措施
- OSChina 周六乱弹 ——对,假期的最后一天咯~!
- 【Virtual Box】使用增强功能在Ubuntu系统实现共享文件夹、共享复制粘贴、主机间拖放文件