go_weekly_2025-07-18

2025-07-16 00:00

原文链接

精选

1. The FIPS 140-3 Go Cryptographic Module

Go 官方支持 FIPS 140-3 加密标准,为政府相关项目开发者提供合规解决方案。


2. A Deep Dive Into Deeply Recursive Go

探讨 Go 深度递归导致的栈溢出风险及解决方案,含运行时可恢复溢出处理提案。


3. Learn Go with Tests: An Online Book for Learning TDD with Go

通过测试驱动开发学习 Go 的开源书籍,新增反射和泛型等进阶内容。


4. pproftui: A Terminal-Based Diagnostic Tool for pprof Data

终端可视化 pprof 分析工具,支持实时性能剖析和代码级问题定位。


5. oapi-codegen 2.5: Generate Go Boilerplate from OpenAPI 3 Specs

从 OpenAPI 规范自动生成 Go 服务端/客户端代码,减少样板代码编写。

其它

1. You Don’t Need testify/assert

提倡精简测试断言风格,并推出极简测试库 Be。


2. Introducing go-cdc-chunkers: A New Way to Chunk and Deduplicate Everything

基于内容定义分块算法(CDC)的 Go 库,实现高效数据去重。


3. FastHTTP 1.64

针对高并发场景优化的 HTTP 库,性能优于标准库 net/http。


4. Revive 1.11

高度可配置的 Go 代码 linter,支持自定义规则集。


5. FerretDB 2.4

基于 Postgres/SQLite 的 MongoDB 兼容层,用 Go 实现。


6. New in Go 1.25: WaitGroup.Go()

Go 1.25 新增 WaitGroup.Go() 方法,简化并发任务管理。