(转载)分享常用的GoLang包工具
分享常用的GoLang包工具
包名 鏈接地址 備注
Machinery異步隊(duì)列 https://github.com/RichardKnop/machinery
Mqtt通信 github.com/eclipse/paho.mqtt.golang go文檔http://www.eclipse.org/paho/clients/golang/
微信開發(fā) https://github.com/chanxuehong/wechat
fasthttp包 github.com/valyala/fasthttp
數(shù)據(jù)庫(kù)操作包 https://github.com/gocraft/dbr
mysql db鏈?zhǔn)讲僮?https://github.com/gohouse/gorose
glide包管理工具 https://zhuanlan.zhihu.com/p/27994151
文件配置包 github.com/spf13/viper
cli應(yīng)用執(zhí)行程序包 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 參數(shù)驗(yàn)證器 github.com/asaskevich/govalidator
json編解碼庫(kù) github.com/json-iterator/go
json web token https://github.com/dgrijalva/jwt-go
類型轉(zhuǎn)換 github.com/Unknwon/com
優(yōu)雅的重啟Http服務(wù) github.com/fvbock/endless 目前只支持linux環(huán)境下使用,零時(shí)間重啟。
權(quán)限控制 github.com/mikespook/gorbac
WebSocket包 github.com/gorilla/websocket
定時(shí)任務(wù)包 github.com/robfig/cron
CloudXNS-DDNS https://github.com/zwh8800/cloudxns-ddns 動(dòng)態(tài)域名客戶端 docker 鏡像
Restful和gprc相互轉(zhuǎn)換 https://github.com/grpc-ecosystem/grpc-gateway example => https://github.com/go-up/go-example
proto構(gòu)建Go代碼工具 github.com/tuneinc/truss 用于RPC協(xié)議文檔生成
Api網(wǎng)關(guān) https://github.com/fagongzi/gateway
GO直播服務(wù)器 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
轉(zhuǎn)載于:https://www.cnblogs.com/Paul-watermelon/p/11278902.html
總結(jié)
以上是生活随笔為你收集整理的(转载)分享常用的GoLang包工具的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 梦到死人棺材了有什么兆头
- 下一篇: 播客2008