分享常用的Golang工具包

转载:https://www.cnblogs.com/yxhblogs/p/10427954.html

包名 链接地址 备注
Machinery异步队列 https://github.com/RichardKnop/machinery
Mqtt通信 github.com/eclipse/paho.mqtt.golang go文档http://www.eclipse.org/paho/clients/golang/
微信开发 https://github.com/chanxuehong/wechat
fasthttp包 github.com/valyala/fasthttp
数据库操作包 https://github.com/gocraft/dbr
mysql db链式操作 https://github.com/gohouse/gorose
glide包管理工具 https://zhuanlan.zhihu.com/p/27994151
文件配置包 github.com/spf13/viper
cli应用执行程序包 github.com/spf13/cobra
redis包 命令式操作 github.com/garyburd/redigo/redis
redis包 便捷操作 github.com/go-redis/redis
日志包 https://www.jianshu.com/p/5fac8bed4505
日志包 https://github.com/zbindenren/logrus_mail 邮件通知logrus的hooks
gin Api文档包 https://github.com/swaggo/gin-swagger
govalidator 参数验证器 github.com/asaskevich/govalidator
json编解码库 github.com/json-iterator/go
json web token https://github.com/dgrijalva/jwt-go
类型转换 github.com/Unknwon/com
优雅的重启Http服务 github.com/fvbock/endless 目前只支持linux环境下使用,零时间重启。
权限控制 github.com/mikespook/gorbac
WebSocket包 github.com/gorilla/websocket
定时任务包 github.com/robfig/cron
CloudXNS-DDNS https://github.com/zwh8800/cloudxns-ddns 动态域名客户端 docker 镜像
Restful和gprc相互转换 https://github.com/grpc-ecosystem/grpc-gateway example => https://github.com/go-up/go-example
proto构建Go代码工具 github.com/tuneinc/truss 用于RPC协议文档生成
Api网关 https://github.com/fagongzi/gateway
GO直播服务器 https://github.com/gwuhaolin/livego
RabbitMQ包 https://github.com/streadway/amqp
gin中文文档 https://github.com/skybebe/gin-doc-cn
http限流 https://github.com/didip/tollbooth
ORM包 https://github.com/go-sql-driver/mysql
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容