收藏的博客 -- Golang/GoPlus学习

885 阅读2分钟

零:源码和IDE

golang源码:

github.com/golang/go

goplus源码:

goplus.org/

github.com/goplus/gop

IDE:

www.jetbrains.com/go/  -- goland,推荐

zhile.io/ -- 不用多说,你懂的!!

github.com/pingfangx/T…  汉化包

liteide.org/cn/

sourceforge.net/projects/li…

github.com/visualfc/li…

github.com/visualfc/li…

code.visualstudio.com/ -- VS Code,随着ProjectAthens和GopherSource的发布,微软正在加大对Go社区和发展的支持。微软表示,要努力支持Go进入Visual Studio Code,Visual Studio Team Services和Azure云平台的一个重要里程碑。

code.visualstudio.com/docs/langua…

github.com/Microsoft/v…

code.visualstudio.com/docs/getsta… -- 把VSCode改成中文版

 

一、中文官网

golang.google.cn/ -- 谷歌中国镜像,推荐

golang.google.cn/ref/spec -- golang语言规范

studygolang.com/ -- 中文社区

www.golangtc.com/

legacy.gitbook.com/book/chai20…  Go语言高级编程

studygolang.com/p/advanced-… Go语言高级编程

product.dangdang.com/25072202.ht… Go程序设计语言

github.com/hyper0x/go_… -- golang命令教程,郝林

github.com/hyper0x/awe… -- 开源大全,郝林

github.com/hackstoic/g… -- 开源大全

 

二、IM/消息推送

github.com/Terry-Mao/g…  Goim 是毛剑同学写的 IM 服务,纯 Golang 实现,目前应用在 Bilibili 产品线上。

github.com/Terry-Mao/g…

github.com/owenliang/g…

github.com/xiaogan18/m…

developer.gobelieve.io/  国内唯一开源IM服务

github.com/GoBelieveIO

github.com/nats-io/gna…

 

MQTT Server:High-Performance MQTT Server and MQTT cluster

github.com/zentures/su… 停止更新

github.com/578157900/s… 基于上面这个

github.com/VolantMQ/vo… 基于supermq,有在更新

 

三、博客/好文推荐

GO千万级消息推送服务

Go语言构建千万级在线的高并发消息推送系统实践(来自360公司)

魅族2500万长连接的实时消息推送架构的技术实践分享

专访魅族架构师:海量长连接的实时消息推送系统的心得体会

blog.csdn.net/freewebsys/…

blog.csdn.net/wangshubo19… -- 博客专家,大量的go文章

VSCode+golang 安装配置

window下go语言环境搭建+Visual Studio Code集成go

Centos7下配置golang1.9.2环境

Centos7 VS code golang 开发环境搭建

Go起步:2、Go指南,编辑器--Visual Studio Code和LiteIDE

 

四、开源框架

由于golang提供了完善的net/http标准库,基于该标准库实现一个web框架的难度相比其他语言低了不少,所以go web框架简直就是百花齐放。从老牌的revel和beego,到新出的gin,echo,faygo和iris等,而且还有一些类似于chi这种router。

beego和gin都是golang实现的web框架,目前gin在GitHub的星更多,关注度更大。

beego.me/ 一个使用 Go 的思维来帮助您构建并开发 Go 应用程序的开源框架

github.com/gin-gonic/g… 一个Go语言写的HTTP Web框架。它提供了Martini风格的API并有更好的性能

github.com/labstack/ec…

github.com/go-chi/chi 轻量级http server,一般小项目,尤其是中间件需要暴露一些http接口的,基本就使用chi即可

www.xorm.io/ 一个简单而强大的 Go 语言 ORM 框架

github.com/siddontang

github.com/uber-go/zap -- 高性能日志

github.com/tsuna/gohba… -- hbase client

github.com/leesper/tao -- 网络库,轻量级TCP,参考muduo

github.com/davyxu/cell… -- 网络库,TCP/UDP/Http/Websocket

github.com/henrylee2cn… -- 网络库,TCP

github.com/davyxu/cell… -- 游戏框架

github.com/name5566/le… -- 游戏框架

github.com/docker

github.com/kubernetes

github.com/therecipe/q…  -- 可以使用Go语言写Qt界面了

 

五、收藏大牛

smallnest,colobu.com/

rpcx.site/ -- 最好的Go语言的RPC服务治理框架,快、易用却功能强大,性能远远高于 Dubbo、Motan、Thrift等框架,是gRPC性能的两倍

github.com/smallnest/r…

github.com/smallnest/C…

github.com/smallnest/g… -- web框架压测

github.com/smallnest/1… -- 百万 Go TCP 连接的思考

colobu.com/2019/02/23/…  -- 百万 Go TCP 连接的思考