go_weekly_2025-07-24

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

美国运通分享 Go 规模化落地经验(超 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,专为 JS 前端设计。


5. Redka: Redis Re-Implemented with SQL

兼容 Redis API 的 SQL 存储引擎,v0.6 新增 PostgreSQL 支持,实现混合持久化方案。


其它

1. Integration Testing for Go Apps using Testcontainers

通过 Testcontainers 实现真实依赖的集成测试,避免生产环境依赖和管理复杂性。


2. Gofakeit: Fake Data Generator Hits 5k Stars

多功能随机数据生成库,支持数百种数据类型,已成为 GitHub 5k 星热门项目。


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

Google 开源基于 Go 的凭证扫描工具,助力敏感信息检测。


4. go-quartz 0.15: Simple Scheduling Library

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


5. GopherCon 2025 Lineup Announced

8月纽约举行的 GopherCon 2025 公布议程,标准票截止下周二。


6. Gopher2600: Atari VCS Emulator Updates

Go 实现的雅达利模拟器发布 v0.50.0,持续更新控制器支持和 CRT 显示效果。