Golang的第三方库汇总

Golang有非常多好用的第三方包,简单将常用的分类,详细使用可以参考其官方文档。


和解析有关的
1.json-iterator https://github.com/json-iterator/go
2.jsonparser https://github.com/buger/jsonparser
3.ini https://github.com/go-ini/ini
5.tidwall/gjson
6.https://github.com/bitly/go-simplejson

Golang操作Office Excel 文档类库Excelize
https://blog.csdn.net/zdyueguanyun/article/details/64588339

golang 解析word文档
https://blog.csdn.net/chanmufeng/article/details/78683941?utm_source=blogkpcl11

https://github.com/go-ini/ini,go-ini, go INI文件解析,

https://github.com/spf13/viper golang全能性配置文件解决方案,支持 JSON, TOML, YAML, HCL, and Java properties config files以及etcd等! 赞!


web框架
1.Gin https://github.com/gin-gonic/gin
2.Beego https://github.com/astaxie/beego
3.martini https://github.com/go-martini/martini
4.echo
5.Revel
6.iris https://github.com/kataras/iris


数据库及orm
1.LevelDB https://github.com/syndtr/goleveldb
2.BoltDB https://github.com/boltdb/bolt
3.MySQL https://github.com/go-sql-driver/mysql
redis gomodule/redigo
4.tidb https://github.com/pingcap/tidb
5.ssdb https://github.com/ideawu/ssdb
6.gorm https://github.com/jinzhu/gorm


中间件
1.redis https://github.com/go-redis/redis
2.ElasticSearch https://github.com/olivere/elastic
3.Alice https://github.com/justinas/alice


消息队列
1.Nsq https://github.com/nsqio/nsq
2.emq


http
1.httprouter https://github.com/julienschmidt/httprouter
2.fasthttp https://github.com/valyala/fasthttp
3.mux https://github.com/gorilla/mux
高性能和轻量级网络库 gnet
https://www.oschina.net/p/gnet


爬虫
1.Colly https://github.com/gocolly/colly
2.Goquery https://github.com/PuerkitoBio/goquery
https://www.jb51.net/article/124991.htm


日志
– logrus https://github.com/sirupsen/logrus
– zap https://github.com/uber-go/zap
– glog(klog)
– seelog
– zerolog
– log4go
– etcdlog


图像处理
1.bild https://github.com/anthonynsimon/bild
2.gmf https://github.com/3d0c/gmf
3.opencv https://github.com/hybridgroup/gocv


命令行工具
https://github.com/cheggaaa/pb, Terminal progress bar for Go, golang进度条


protobuf
1. golang/protobuf
官方的protobuf库。
2. gogo/protobuf https://github.com/gogo/protobuf golang官方protobuf增強版


反射-inject
正常情况下,对函数或方法的调用是我们的主动直接行为,在调用某个函数之前我们需要清楚地知道被调函数的名称是什么,参数有哪些类型等等。
http://c.biancheng.net/view/5132.html
https://www.cnblogs.com/yjf512/p/12121345.html


K-V Cache

https://github.com/karlseguin/ccache CCache is an LRU Cache, written in Go, focused on supporting high concurrency.
https://blog.csdn.net/snans/category_9331637.html
https://www.cnblogs.com/52op/articles/11821339.html


存储相关

https://github.com/klauspost/reedsolomon, RS纠删码
https://github.com/minio/minio, Minio (兼容S3 对象存储)
https://github.com/chrislusf/seaweedfs 基于facebook haystack思想的海量小文件存储系统
https://github.com/boltdb/bolt 数据库存储引擎blotdb

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注