Go語言愛好者周刊:第 90 期
這里記錄每周值得分享的 Go 語言相關(guān)內(nèi)容,周日發(fā)布。
本周刊開源(GitHub:polaris1119/golangweekly[1]),歡迎投稿,推薦或自薦文章/軟件/資源等,請提交 issue[2] 。
鑒于一些人可能沒法堅(jiān)持把英文文章看完,因此,周刊中會(huì)盡可能推薦優(yōu)質(zhì)的中文文章。優(yōu)秀的英文文章,我們的 GCTT 組織會(huì)進(jìn)行翻譯。
由于微信公眾號不支持外鏈,文章大量鏈接可通過文末「閱讀原文」查看。

題圖:pterm
刊首語
以下代碼輸出什么?
package main
import "fmt"
func app() func(string) string {
t := "Hi"
c := func(b string) string {
t = t + " " + b
return t
}
return c
}
func main() {
a := app()
b := app()
a("go")
fmt.Println(b("All"))
}
誰在招 Gopher
整理近期的 Go 職位。有招聘需求可以到「Go招聘」發(fā)布!
4、錯(cuò)過金三,別錯(cuò)過銀四:看看這個(gè)Go招聘你符合嗎?
資訊
1、tidb 5.0 發(fā)布[3]
這是大版本發(fā)布。
2、MacDriver 0.1 發(fā)布[4]
用于使用 Apple/Mac API 和 Frameworks 的工具包。
3、RxGo 2.5.0 發(fā)布[5]
如果你熟悉 JavaScript 世界的 RxJS,那對這個(gè)應(yīng)該也不會(huì)陌生。
4、ldap 3.3.0 發(fā)布[6]
基本 LDAP v3 功能實(shí)現(xiàn)。
5、Kubernetes 1.21 發(fā)布[7]
主題:Power to the Community。
6、GoLand 2021.1 重磅發(fā)布:新特性試用報(bào)告
有些特性還不錯(cuò)。
文章
1、為什么你應(yīng)該慎重考慮使用 Kubernetes
很多團(tuán)隊(duì)都很興奮地開始使用 Kubernetes。使用 Kubernetes 有好處也有壞處。
Go 語言相關(guān)面試題和答案匯總。
3、答應(yīng)我,這次一定徹底搞懂 Go 中的類型別名
有一道題引出相關(guān)知識(shí)點(diǎn)。
4、Go:使用 Ebiten 在 2D 視頻游戲中進(jìn)行圖像渲染
本文基于 Ebiten 1.10。
作為 Golang 開發(fā)者,遇到的許多問題之一就是嘗試將函數(shù)的參數(shù)設(shè)置成可選項(xiàng)。這是一個(gè)十分常見的場景,您可以使用一些已經(jīng)設(shè)置默認(rèn)配置和開箱即用的對象,同時(shí)您也可以使用一些更為詳細(xì)的配置。
fmt 包。
7、像大神一樣調(diào)試 Go[8]
一旦你了解了基礎(chǔ)知識(shí),Golang 可以讓你比以前更有效率。
開源項(xiàng)目
1、pterm[9]
一個(gè)現(xiàn)代的 Go 模塊,用于美化控制臺(tái)輸出。看起來真的很漂亮。

2、Spaghetti[10]
包依賴分析工具。
3、lipgloss[11]
漂亮的終端布局的風(fēng)格定義。

4、twodeeparticles[12]
用于 Go 的發(fā)動(dòng)機(jī)無關(guān)的 2D 粒子系統(tǒng)模擬器。

5、vald[13]
高度可擴(kuò)展的分布式矢量搜索引擎。
6、xsel[14]
兼容 XPath 1.0 的 Go 包。
7、Teleport[15]
一種身份識(shí)別、支持多協(xié)議的訪問代理。
8、teams-api[16]
非官方 microsoft team go api 包。
9、go-gitlab[17]
與 gitlab 交互的 go client api。
10、keto[18]
谷歌全球一致性授權(quán)系統(tǒng)的開源 Go 實(shí)現(xiàn)。
資源&&工具
1、gographs.io[19]
圖形化展示 Go 包依賴關(guān)系。
2、docuowl[20]
Go 實(shí)現(xiàn)的文檔生成工具。
3、photon[21]
Go 實(shí)現(xiàn)的 rss 閱讀工具。
4、jennifer[22]
Go 代碼生成器。
5、garble[23]
Go 構(gòu)建混淆工具。
6、gostackparse[24]
datadog 開源的 go stack 輸出解析工具。
7、Go 播客第 174 期[25]
Go 中測試的磨難。
訂閱
這個(gè)周刊每周日發(fā)布,同步更新在Go語言中文網(wǎng)[26]和微信公眾號[27]。
微信搜索"Go語言中文網(wǎng)"或者掃描二維碼,即可訂閱。
參考資料
polaris1119/golangweekly: https://github.com/polaris1119/golangweekly
[2]提交 issue: https://github.com/polaris1119/golangweekly/issues
[3]tidb 5.0 發(fā)布: https://github.com/pingcap/tidb/releases/tag/v5.0.0
[4]MacDriver 0.1 發(fā)布: https://github.com/progrium/macdriver
[5]RxGo 2.5.0 發(fā)布: https://github.com/ReactiveX/RxGo
[6]ldap 3.3.0 發(fā)布: https://github.com/go-ldap/ldap
[7]Kubernetes 1.21 發(fā)布: https://kubernetes.io/blog/2021/04/08/kubernetes-1-21-release-announcement/
[8]像大神一樣調(diào)試 Go: https://juejin.cn/post/6947868469270577159
[9]pterm: https://github.com/pterm/pterm
[10]Spaghetti: https://github.com/adonovan/spaghetti
[11]lipgloss: https://github.com/charmbracelet/lipgloss
[12]twodeeparticles: https://github.com/blizzy78/twodeeparticles
[13]vald: https://github.com/vdaas/vald
[14]xsel: https://github.com/ChrisTrenkamp/xsel
[15]Teleport: https://github.com/gravitational/teleport
[16]teams-api: https://github.com/fossteams/teams-api
[17]go-gitlab: https://github.com/xanzy/go-gitlab
[18]keto: https://github.com/ory/keto
[19]gographs.io: https://gographs.io/
[20]docuowl: https://github.com/docuowl/docuowl
[21]photon: https://gitlab.com/microo8/photon
[22]jennifer: https://github.com/dave/jennifer
[23]garble: https://github.com/burrowers/garble
[24]gostackparse: https://github.com/DataDog/gostackparse
[25]Go 播客第 174 期: https://changelog.com/gotime/174
[26]Go語言中文網(wǎng): https://studygolang.com/go/weekly
[27]微信公眾號: https://weixin.sogou.com/weixin?query=Go%E8%AF%AD%E8%A8%80%E4%B8%AD%E6%96%87%E7%BD%91
