go_weekly_2025-10-26

2025-10-22 00:00

原文链接

精选

1. The Draft Go 1.26 Release Notes

Go 1.26 草案发布,支持 new 表达式等增强功能,预计2026年2月发布。


2. The Speed of Random Number Generators

比较 Go 随机数生成器性能,math/rand/v2 使用 PCG 算法表现最佳。


3. The ‘Compare IP Subnets’ Proposal

Go 1.26 将简化 IP 子网比较,使网络编程更加便捷。


4. gotests: Automatically Generate Test Boilerplate From Code

v1.8.0 支持泛型,自动为泛型函数和方法生成表驱动测试代码。


5. Writing Better Go: Lessons from 10 Code Reviews

基于10次代码审查经验,分享编写高质量 Go 代码的实用技巧。

其它

1. The “10x” Commandments of Highly Effective Go

十条 Go 开发最佳实践指南,配合 GoLand IDE 示例说明。


2. urfave/cli 3.1: A Declarative Way to Build Go CLI Apps

声明式构建 CLI 应用,支持自动补全、选项解析等核心功能。


3. go-torch: Torch-Like Deep Learning Framework in Go

纯 Go 实现的深度学习框架,提供类似 PyTorch 的功能。


4. superfile: Go-Powered Terminal-Based File Manager

基于 Bubble Tea 的现代化终端文件管理器,支持主题定制。


5. JWT Authentication in Go with Gin

使用 Gin 框架实现 JWT 认证,适用于 Vonage 及其他场景。


6. Durable Background Execution with Go and SQLite

结合 Go 和 SQLite 实现持久化后台任务执行方案。


7. go-nvtrust: NVIDIA GPU and NVSwitch Confidential Computing Attestation

Go 版 NVIDIA 可信计算证明工具,用于 GPU 机密计算验证。


8. Parsing Financial News for Automated Trading Decisions

使用 Go 解析财经新闻辅助自动化交易决策的技术实现。


9. Subtest Grouping in Go

Go 测试中子测试分组的最佳实践和实现方法。