golang 常用包

golang 常用包

包目录

https://github.com/golang 

GIN 框架

https://github.com/gin-gonic/gin

beego 框架

https://github.com/astaxie/beego

iris 框架

https://github.com/kataras/iris

Revel 框架

https://github.com/revel/revel

GTK

github.com/mattn/go-gtk/gtk

mysql 操作包

github.com/go-sql-driver/mysql

redis 操作包

github.com/garyburd/redigo/redis

mongo操作包

http://labix.org/mgo

快速取值json包

github.com/tidwall/gjson

图像处理包(已停止更新)

https://github.com/nfnt/resize

Go语言ORM库 使数据库操作非常简便

https://github.com/go-xorm/xorm

包依赖管理

https://github.com/olivere/elastic

log 记录

github.com/Sirupsen/logrushttps://github.com/cihub/seelog

beego 自动api 文档生成

https://github.com/beego/swagger

grpc 安装

git clone https://github.com/grpc/grpc-go.git $GOPATH/src/google.golang.org/grpc

git clone https://github.com/golang/net.git $GOPATH/src/golang.org/x/net

git clone https://github.com/golang/text.git $GOPATH/src/golang.org/x/text

go get -u github.com/golang/protobuf/{proto,protoc-gen-go}

git clone https://github.com/google/go-genproto.git $GOPATH/src/google.golang.org/genproto

cd $GOPATH/src/

go install google.golang.org/grpc

gin专用的gin-swagger

go get github.com/swaggo/swag/cmd/swag

$ go get -u github.com/swaggo/gin-swagger

$ go get -u github.com/swaggo/gin-swagger/swaggerFiles

其他常用包

go get -v github.com/nsf/gocode

go get -v github.com/rogpeppe/godef

go get -v golang.org/x/tools/cmd/godoc

go get -v golang.org/x/tools/cmd/goimports

go get -v github.com/golang/lint/golint

go get -v github.com/derekparker/delve/cmd/dlv

go get -v github.com/lukehoban/go-find-references

go get -v github.com/lukehoban/go-outline

go get -v sourcegraph.com/sqs/goreturns

go get -v github.com/tpng/gopkgs

go get -v github.com/newhook/go-symbols

go get -v golang.org/x/tools/cmd/gorename

你可能感兴趣的:(golang)