golang一些库的积累

18393910396 · · 2472 次点击
我也补充一点我的笔记吧,笔记在[github](https://github.com/xiaomeng79/learning_notes) :https://github.com/xiaomeng79/learning_notes 也可以网页查看[go常用的包](https://xiaomeng79.github.io/learning_notes/01%E8%AF%AD%E8%A8%80/1go/7%E5%B8%B8%E7%94%A8%E7%9A%84%E5%8C%85.html) # 常用的包和站点 ## 站点 - [goproxy](https://goproxy.io/) go代理 - [travis](https://travis-ci.org/)  持续集成 - [codecov](https://codecov.io/) 测试覆盖检查 - [heroku](https://www.heroku.com/) 持续部署 - [shields](https://shields.io/#/) 生成图标 - [katacoda](https://www.katacoda.com/) 真实模拟 - [How-to-Make-a-Computer-Operating-System](https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System) 如何做一个操作系统 ## 包 ### 框架 - [go-micro](https://github.com/micro/go-micro) 插件话微服务框架 - [echo](https://github.com/labstack/echo) 轻量web框架 - [tango](https://github.com/lunny/tango) web中间件 - [go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) grpc中间件 - [chess](https://github.com/gochenzl/chess) 棋牌游戏框架 - [leaf](https://github.com/name5566/leaf) 游戏框架 - [ebiten](https://github.com/hajimehoshi/ebiten) 2D游戏库 - [grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway) - [mqtt](https://github.com/zentures/surgemq) mqtt库 - [iris](https://github.com/kataras/iris) web框架 - [livego](https://github.com/gwuhaolin/livego) 直播框架 - [mqant](https://github.com/liangdas/mqant) 游戏框架 ### 及时通讯 - [centrifugo](https://github.com/centrifugal/centrifugo) 语言无关的及时通讯 - ### 网关 - [traefik](https://github.com/containous/traefik) 基于容器的网关 - [kong](https://github.com/Kong/kong) ### Metric Logging Traceing - [go-metrics](github.com/rcrowley/go-metrics) - [opentracing-go](https://github.com/opentracing/opentracing-go) - [prometheus](https://github.com/prometheus/prometheus) - [opencensus-go](https://github.com/census-instrumentation/opencensus-go) ### 模板 - [pongo2](https://github.com/flosch/pongo2) html模板 - [godoc2ghmd](https://github.com/devnev/godoc2ghmd) 注释godoc生成markdown文件 ### 打包 - [statik](https://github.com/rakyll/statik) 静态文件打包成二进制 - [go-bindata](https://github.com/jteeuwen/go-bindata) 静态文件打包成二进制 ### 常用的库 - [testify](https://github.com/stretchr/testify) 代码测试,断言和模拟的工具包 - [goconvey](https://github.com/smartystreets/goconvey) go测试 - [govalidator](https://github.com/asaskevich/govalidator) 数据验证 - [gomail](https://github.com/go-gomail/gomail) 发送邮件 - [json](https://github.com/json-iterator/go) json编码解码 - [configor](https://github.com/jinzhu/configor) 配置文件 - [uuid](https://github.com/satori/go.uuid) UUID - [mgo](https://github.com/go-mgo/mgo) mongodb - [bolt](https://github.com/boltdb/bolt) K/V文件存储,支持事务,适合读多写少 B+树 - [leveldb](https://github.com/golang/leveldb) [goleveldb](https://github.com/syndtr/goleveldb) K/V存储,不支持事务,适合读少写多  - [dgraph](https://github.com/dgraph-io/dgraph) 图数据库 - [cayley](https://github.com/cayleygraph/cayley) 图数据库 - [influxdb](https://github.com/influxdata/influxdb) 时序数据库 - [gohbase](https://github.com/tsuna/gohbase) hbase客户端 - [cetus](https://github.com/Lede-Inc/cetus) mysql中间件 - [sqlx](https://github.com/jmoiron/sqlx) 构建sql - [sarama](https://github.com/Shopify/sarama) kafka客户端 - [sarama-cluster](github.com/bsm/sarama-cluster) kafka组消费,sarama的拓展 - [gorm](https://github.com/jinzhu/gorm) gorm - [redis](https://github.com/go-redis/redis) redis客户端 - [copier](https://github.com/jinzhu/copier) 结构体之间复制 - [mapstructure](github.com/mitchellh/mapstructure) map转struct ### 算法 - [ratelimit](go.uber.org/ratelimit) 优步限流 - [gobreaker](https://github.com/sony/gobreaker) 断路器 - [snowflake](https://github.com/bwmarrin/snowflake) 雪花算法 ### 机器学习 - [CloudForest](https://github.com/ryanbressler/CloudForest) 决策树 - [golearn](https://github.com/sjwhitworth/golearn) 机器学习 - [goml](https://github.com/cdipaolo/goml) 机器学习 - [gorgonia](https://github.com/gorgonia/gorgonia) 机器学习 ### 不常用的库 - [decimal](https://github.com/shopspring/decimal) 浮点数精度 - [drwmutex](https://github.com/jonhoo/drwmutex) 分布式读写锁 - [captcha](https://github.com/dchest/captcha) 验证码 - [base64Captcha](https://github.com/mojocn/base64Captcha) 验证码 - [jwt](https://github.com/dgrijalva/jwt-go) JWT - [gopher-lua](https://github.com/yuin/gopher-lua) go编译lua - [go-swagger](https://github.com/go-swagger/go-swagger) 生成文档,目前不支持go mod - [go-socket.io](https://github.com/googollee/go-socket.io) socket.io库 - [kcp-go](https://github.com/xtaci/kcp-go) 生产级的UDP库 - [watcher](https://github.com/radovskyb/watcher) - [gopsutil](https://github.com/shirou/gopsutil) go查看进程信息工具 - [negroni](https://github.com/urfave/negroni) 原生web中间件 - [lumberjack](https://github.com/natefinch/lumberjack) 文件滚动切分 - [mergo](https://github.com/imdario/mergo) map和结构合并 - [fsnotify](https://github.com/fsnotify/fsnotify) 跨平台文件变化通知 - [httprouter](https://github.com/julienschmidt/httprouter) 路由 - [websocket](https://github.com/gorilla/websocket) websocket库 - [viper](https://github.com/spf13/viper) 配置文件 ### 区块链 - [blockchain-tutorial](https://github.com/liuchengxu/blockchain-tutorial) ### 需要研究的项目 - [gorush](https://github.com/xiaomeng79/gorush) go推送 - [centrifugo](https://github.com/xiaomeng79/centrifugo) 语言无关的消息推送 - [mahjong](https://github.com/jxbdlut/mahjong) 游戏麻将 ### 学习资料 - [architect-awesome](https://github.com/xingshaocheng/architect-awesome) 后端架构师技术图谱 - [Qix](https://github.com/ty4z2008/Qix) - [awesome-go-zh](https://github.com/chai2010/awesome-go-zh) - [raft](https://github.com/maemual/raft-zh_cn) raft - [DeepLearning-500-questions](https://github.com/scutan90/DeepLearning-500-questions) 深度学习 - [nginx-book](https://github.com/taobao/nginx-book) nginx学习 - [gonote](https://github.com/xmge/gonote) - [golang-swaggerui-example](https://github.com/ribice/golang-swaggerui-example) - [project-layout](https://github.com/golang-standards/project-layout) - [php](https://github.com/JingwenTian/awesome-php) - [night-reading-go](https://github.com/developer-learning/night-reading-go) - [Python-100-Days](https://github.com/jackfrued/Python-100-Days) - [project-based-learning](https://github.com/tuvtran/project-based-learning) ** - [Halfrost-Field)](https://github.com/halfrost/Halfrost-Field) - [CS-Notes](https://github.com/CyC2018/CS-Notes) - [golang-open-source-projects](https://github.com/hackstoic/golang-open-source-projects) - [awesome-blockchain-cn](https://github.com/chaozh/awesome-blockchain-cn) 区块链资料 - [shippy](https://github.com/EwanValentine/shippy) 微服务示例 - [The-Golang-Standard-Library-by-Example](https://github.com/polaris1119/The-Golang-Standard-Library-by-Example) go标准库
#11
更多评论
```go 20: golang program 函数调用可视化 https://github.com/TrueFurby/go-callvis 21 : go 日志包 https://github.com/udbjqrmna/onelog ```
#2