A curated selection of blog posts on Go
- Sorting custom structures in Golang. A quick recipe. (可以用sort.Slice()绕开Len,Less,Swap这三个冗长乏味的函数)
- Go json cookbook (json处理)
- Implementing OAuth 2.0 with Go(Golang) 🔐
- How to do Google sign-in with Go
- How to do Google Sign-In with Go - Part 2
- graceful-shutdown-of-a-tcp-server-in-go/ (优雅关闭TCP服务器)
- Go语言中如何开启 TCP keepalive?
- Golang netpoll (通过读这篇文章,终于搞清楚了
netFd
和poll.FD
的江湖地位)
-
PubSub using channels in Go (发布-订阅模式)
-
Go: Broadcast channels? (广播📢)
-
Understanding Condition Variable in Go(条件变量的使用场景)
-
connection pool
- Dependency Injection in Go (依赖注入)
- Go lessons learnt by refactoring
- Moving Towards Domain Driven Design in Go
- 用面向对象设计原则理解 Go 中 interface
- Testing in Go (测试)
-
通过这篇文章,知道了Go中怎么写XA,也重读了mysql XA文档.
又学习了下2PC(DDIA),发现这篇文章中自己实现的TM太简陋了。合格的TM需要对任何决策或者指令或者收到的Prepare的回复做持久化日志。显然让client手动写这些代码是不对的,应该有相应的库封装一下。
- Essential Go
- Go 101
- Go语言圣经
- Go语言高级编程
- build-web-application-with-golang (astaxie)
- webapp-with-golang-anti-textbook
- the-blockchain-way-of-programming
- Awesome Go Books
- Gopher Reading List
- Awesome Go LeetCode
- Data Structure Libraries and Algorithms implementation
- awesome Go (A curated list of awesome Go frameworks, libraries and software.)
- Go Patterns
- 每日一库
- Dave Cheney
- Eli BenderSky
- Alex Edward
- Go, the unwritten parts
- tony_Bai
- 鸟窝
- 飞雪无情
- 饶全成
- Draveness
- calhoun.io
- ieftimov
- 程序员开发效率神器汇总!(tencent)
- awesomer-go (可查询、排序的awesome-go列表)