Go语言爱好者周刊:第 82 期 — 情人节快乐

共 4275字,需浏览 9分钟

 ·

2021-02-15 22:34







这里记录每周值得分享的 Go 语言相关内容,周日发布。

本周刊开源(GitHub:polaris1119/golangweekly[1]),欢迎投稿,推荐或自荐文章/软件/资源等,请提交 issue[2]

鉴于一些人可能没法坚持把英文文章看完,因此,周刊中会尽可能推荐优质的中文文章。优秀的英文文章,我们的 GCTT 组织会进行翻译。

题图:新春快乐

刊首语

新年,不出题目了。了解了解 Go 相关资讯即可。新年快乐!今天还是情人节,祝天下有情人终成眷属!

Go 牛年晚会感觉还是挺不错的,感谢大家支持!

白天陪娃,只能半夜来整理周刊!感谢大家多多支持!

谁在招 Gopher

整理近期的 Go 职位。有招聘需求可以到「Go招聘」发布!

1、加入米哈游,技术宅拯救世界

资讯

1、泛型最终确认

目前应该会按原计划发布。对,2021 年底发布 Beta 版!

2、GoLand 2021.1 EAP build #2 发布[3]

支持 Go 1.16 的 go:embed。

3、rqlite 5.10.0 发布[4]

rqlite 是用 Go 语言编写的轻量级分布式关系数据库系统,使用 SQLite 作为其存储引擎。5.10.0 非常注重减少磁盘使用量。

4、v8go 0.5 发布[5]

Go 中支持 JavaScript。

5、Wasmer Go 1.0[6]

Go 语言 WebAssembly Runtime。

6、Solr-Go 0.2 发布[7]

Solr 的 Go 客户端。

7、Fiber 2.5.0 发布[8]

受 Express.js 启发的 Web 框架。

8、Resty 2.5 发布[9]

Go 的简单 HTTP 和 REST 客户端库。

9、bitbar[10]

Mat Ryer 重启 bitbar 开发,这次用 Go。

10、Go GC Pacer 重设计的草案[11]

英文的。

文章

1、聊聊近期出版或将出版的几本 Go 图书

几本不错的书。

2、图解 Go Select 语句的执行顺序

select 允许在一个 goroutine 中管理多个 channel。但是,当所有 channel 同时就绪的时候,go 需要在其中选择一个执行。此外,go 还需要处理没有 channel 就绪的情况,我们先从就绪的 channel 开始。

3、Go:符号表是什么?如何利用

符号表是由编译器生成和维护的,保存了与程序相关的信息,如函数和全局变量。理解符号表能帮助我们更好地与之交互和利用它。

4、Dave 大神解释 Go 1.14 中接口的菱形组合

按照部分重叠的接口提议,Go 1.14 现在允许嵌入有部分方法重叠的接口。本文是一篇解释这次修改的简要说明。

5、为 Go 打造一个原生 GUI 程序是一种什么体验?

本文是 macdriver 作者写的,这是一个 Go 语言的 Objective-C 桥接器,使得 Go 可以使用 Mac API。如果做过 Apple 相关应用开发,可以试试这个。

6、Golang WaitGroup 原理深度剖析

sync.WaitGroup 是 Golang 中常用的并发措施,我们可以用它来等待一批 Goroutine 结束。

7、官方文档:管理 go module 依赖[12]

自己解决访问问题。

开源项目

1、agogo[13]

AlphaGo 的 Go 实现。

2、go-libp2p[14]

libp2p 的 Go 实现。

3、copyist[15]

在 Go 测试中模拟 SQL 数据库的方法。

4、kube-batch[16]

Kubernetes 批处理任务调度器。

5、magma[17]

一个开源软件平台,可为网络运营商提供开放,灵活和可扩展的移动核心网络解决方案。

6、notify[18]

一个简单、用于将通知发送到各种消息服务(支持 mail,slack,microsoft team 等)的 Go 库。

7、go-json[19]

高性能且兼容 encoding/json 的 json 编解码库。

8、hdfs[20]

Go 实现的 HDFS 客户端。

9、dither[21]

Go 图像抖动算法库。

资源&&工具

1、chk[22]

用于检查各种协议下从本地计算机到远程目标的连接的小工具。

2、auxpi[23]

集合多家 API 的新一代图床。

3、git-chglog[24]

Go 实现的 changelog 生成器。

4、Osiris-pwm[25]

一个基于 Fyne GUI 的轻量级密码管理工具。

5、faker[26]

零依赖的终极 fake 数据生成器,Go 实现。

6、tcpdog[27]

基于 eBPF 的 TCP 观察工具。

7、logit[28]

将 json 格式的 log 聚合存储。

8、WirePenguin[29]

Go实现的网络包嗅探工具。

9、gin-annotation[30]

用于实现 gin annotation 的命令行工具。

10、go-resume[31]

简历创建工具。

11、gomodest-template[32]

使用 Go,html 和 javascript 快速构建动态 Web 应用程序的模板。

订阅

这个周刊每周日发布,同步更新在Go语言中文网[33]微信公众号[34]

微信搜索"Go语言中文网"或者扫描二维码,即可订阅。

wechat

参考资料

[1]

polaris1119/golangweekly: https://github.com/polaris1119/golangweekly

[2]

提交 issue: https://github.com/polaris1119/golangweekly/issues

[3]

GoLand 2021.1 EAP build #2 发布: https://blog.jetbrains.com/2021/02/05/goland-2021-1-eap-2/

[4]

rqlite 5.10.0 发布: https://www.philipotoole.com/rqlite-5-10-0-released-comparing-its-disk-usage-to-5-6-0/

[5]

v8go 0.5 发布: https://github.com/rogchap/v8go/releases/tag/v0.5.0

[6]

Wasmer Go 1.0: https://github.com/wasmerio/wasmer-go

[7]

Solr-Go 0.2 发布: https://sf9v.github.io/posts/solr-go-0.2-released/

[8]

Fiber 2.5.0 发布: https://github.com/gofiber/fiber

[9]

Resty 2.5 发布: https://github.com/go-resty/resty

[10]

bitbar: https://github.com/matryer/bitbar/issues/607

[11]

Go GC Pacer 重设计的草案: https://github.com/golang/go/issues/44167

[12]

官方文档:管理 go module 依赖: https://tip.golang.org/doc/modules/managing-dependencies

[13]

agogo: https://github.com/gorgonia/agogo

[14]

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

[15]

copyist: https://github.com/cockroachdb/copyist

[16]

kube-batch: https://github.com/kubernetes-sigs/kube-batch

[17]

magma: https://github.com/magma/magma

[18]

notify: https://github.com/nikoksr/notify

[19]

go-json: https://github.com/goccy/go-json

[20]

hdfs: https://github.com/colinmarc/hdfs

[21]

dither: https://github.com/makeworld-the-better-one/dither

[22]

chk: https://github.com/Ripolak/chk

[23]

auxpi: https://github.com/0xDkd/auxpi

[24]

git-chglog: https://github.com/git-chglog/git-chglog

[25]

Osiris-pwm: https://github.com/Gyro7/Osiris-pwm

[26]

faker: https://github.com/jaswdr/faker

[27]

tcpdog: https://github.com/mehrdadrad/tcpdog

[28]

logit: https://github.com/life4/logit

[29]

WirePenguin: https://github.com/pwdz/WirePenguin

[30]

gin-annotation: https://github.com/1-st/gin-annotation

[31]

go-resume: https://github.com/penguingovernor/go-resume

[32]

gomodest-template: https://github.com/adnaan/gomodest-template

[33]

Go语言中文网: https://studygolang.com/go/weekly

[34]

微信公众号: https://weixin.sogou.com/weixin?query=Go%E8%AF%AD%E8%A8%80%E4%B8%AD%E6%96%87%E7%BD%91



浏览 51
点赞
评论
收藏
分享

手机扫一扫分享

分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

分享
举报