go_weekly_2025-07-29

2025-07-23 00:00

原文链接

精选

1. How Go 1.24’s Swiss Tables ‘Saved Us Hundreds of Gigabytes’

Go 1.24 的 Swiss Tables 优化显著减少内存占用,适用于大规模内存映射场景。


2. Go at American Express Today: Seven Key Learnings

Amex 分享 Go 规模化落地的 7 个关键经验,覆盖 1000+ 开发者实践。


3. Logging in Go with Slog: A Practitioner’s Guide

深入解析 Go 1.21 结构化日志库 log/slog 的核心功能与最佳实践。


4. PocketBase: A Go-Powered Backend in One Binary

单文件嵌入式后端,集成 SQLite、实时订阅、用户管理和 REST API。


5. Redka: Redis Re-Implemented with SQL

兼容 Redis API 的 SQL 存储引擎,新增 PostgreSQL 支持。


其它

1. Integration Testing for Go Apps using Testcontainers

通过 Testcontainers 实现容器化依赖的集成测试,避免生产环境依赖。


2. Gofakeit: Fake Data Generator Hits 5k Stars

Go 假数据生成库支持数百种类型,作者分享项目演进历程。


3. Veles: Google’s Open-Source Secrets Scanner

Google 开源 Go 实现的敏感信息扫描工具,提升代码安全审计效率。


4. go-quartz 0.15: Zero-Dependency Scheduler

轻量级任务调度库,灵感来自 Java Quartz,支持函数定时触发。


5. Gopher2600: Atari VCS Emulator in Go

Go 实现的 Atari 模拟器持续更新,新增 CRT 显示效果等特性。