天天看點

收藏的部落格 -- Golang/GoPlus學習

零:源碼和IDE

golang源碼:

https://github.com/golang/go

goplus源碼:

https://goplus.org/ https://github.com/goplus/gop

IDE:

https://www.jetbrains.com/go/

 -- goland,推薦

https://zhile.io/

-- 不用多說,你懂的!!

https://github.com/pingfangx/TranslatorX

 漢化包

http://liteide.org/cn/ https://sourceforge.net/projects/liteide/files/ https://github.com/visualfc/liteide https://github.com/visualfc/liteide/releases https://code.visualstudio.com/

-- VS Code,随着ProjectAthens和GopherSource的釋出,微軟正在加大對Go社群和發展的支援。微軟表示,要努力支援Go進入Visual Studio Code,Visual Studio Team Services和Azure雲平台的一個重要裡程碑。

https://code.visualstudio.com/docs/languages/go https://github.com/Microsoft/vscode/releases https://code.visualstudio.com/docs/getstarted/locales

-- 把VSCode改成中文版

一、中文官網

https://golang.google.cn/

-- 谷歌中國鏡像,推薦

https://golang.google.cn/ref/spec

-- golang語言規範

https://studygolang.com/

-- 中文社群

https://www.golangtc.com/ https://legacy.gitbook.com/book/chai2010/advanced-go-programming-book/details

 Go語言進階程式設計

https://studygolang.com/p/advanced-go-programming-book

Go語言進階程式設計

http://product.dangdang.com/25072202.html

Go程式設計語言

https://github.com/hyper0x/go_command_tutorial

-- golang指令教程,郝林

https://github.com/hyper0x/awesome-go-China

-- 開源大全,郝林

https://github.com/hackstoic/golang-open-source-projects

-- 開源大全

二、IM/消息推送

https://github.com/Terry-Mao/goim

 Goim 是毛劍同學寫的 IM 服務,純 Golang 實作,目前應用在 Bilibili 産品線上。

https://github.com/Terry-Mao/gopush-cluster https://github.com/owenliang/go-push https://github.com/xiaogan18/msgserver http://developer.gobelieve.io/

 國内唯一開源IM服務

https://github.com/GoBelieveIO https://github.com/nats-io/gnatsd

MQTT Server:High-Performance MQTT Server and MQTT cluster

https://github.com/zentures/surgemq

停止更新

https://github.com/578157900/supermq

基于上面這個

https://github.com/VolantMQ/volantmq

基于supermq,有在更新

三、部落格/好文推薦

GO千萬級消息推送服務

Go語言建構千萬級線上的高并發消息推送系統實踐(來自360公司)

魅族2500萬長連接配接的實時消息推送架構的技術實踐分享

專訪魅族架構師:海量長連接配接的實時消息推送系統的心得體會

https://blog.csdn.net/freewebsys/article/category/2120333 https://blog.csdn.net/wangshubo1989

-- 部落格專家,大量的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的星更多,關注度更大。

https://beego.me/

一個使用 Go 的思維來幫助您建構并開發 Go 應用程式的開源架構

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

一個Go語言寫的HTTP Web架構。它提供了Martini風格的API并有更好的性能

https://github.com/labstack/echo https://github.com/go-chi/chi

輕量級http server,一般小項目,尤其是中間件需要暴露一些http接口的,基本就使用chi即可

http://www.xorm.io/

一個簡單而強大的 Go 語言 ORM 架構

https://github.com/siddontang https://github.com/uber-go/zap

-- 高性能日志

https://github.com/tsuna/gohbase

-- hbase client

https://github.com/leesper/tao

-- 網絡庫,輕量級TCP,參考muduo

https://github.com/davyxu/cellnet

-- 網絡庫,TCP/UDP/Http/Websocket

https://github.com/henrylee2cn/teleport

-- 網絡庫,TCP

https://github.com/davyxu/cellmesh

-- 遊戲架構

https://github.com/name5566/leaf https://github.com/docker https://github.com/kubernetes https://github.com/therecipe/qt

 -- 可以使用Go語言寫Qt界面了

五、收藏大牛

smallnest,

https://colobu.com/ http://rpcx.site/

-- 最好的Go語言的RPC服務治理架構,快、易用卻功能強大,性能遠遠高于 Dubbo、Motan、Thrift等架構,是gRPC性能的兩倍

https://github.com/smallnest/rpcx https://github.com/smallnest/C1000K-Servers https://github.com/smallnest/go-web-framework-benchmark

-- web架構壓測

https://github.com/smallnest/1m-go-tcp-server

-- 百萬 Go TCP 連接配接的思考

https://colobu.com/2019/02/23/1m-go-tcp-connection/

 -- 百萬 Go TCP 連接配接的思考

繼續閱讀