go_weekly_2025-07-26

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 规模化落地的 7 大经验,目前已有 1000+ 工程师使用 Go。


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、实时订阅、用户管理和 Admin UI,适合 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

Go 假数据生成库发展历程,支持数百种数据类别,GitHub 星标突破 5000。


3. Google Open-Sources Veles: Secrets Scanner

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


4. go-quartz 0.15: Scheduling Library

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


5. Gopher2600: Atari VCS Emulator v0.50

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