2025-06-25 00:00
精选
1. JSON Evolution in Go: From V1 to V2
Go 1.25 的 JSON v2 包带来 10 倍解析加速、流式 API 和灵活标签语法。
2. Finding Performance Problems by Diffing Two Go Profiles
使用
pprof
对比性能剖面快速定位硬编码参数导致的系统表生成瓶颈。
3. Charm Fang: A CLI Starter Kit for Cobra Apps
基于 Cobra 的 CLI 增强工具,内置精美输出、手册生成和自动补全等开箱即用功能。
4. How to Store Go Pointers from (Go) Assembly
深度指南:在 Go 汇编中安全操作指针并与运行时交互的实践技巧。
5. Cloud66’s Go Stack in 2025
生产级 Go 技术栈全景图:配置管理、HTTP 框架、ORM 和依赖注入方案精选。
其它
1. Eliminating Dead Code in Go Projects
官方
deadcode
工具实战:识别并清理未使用代码的方法论。
2. Unregistry: Push Docker Images Directly to Remote Servers
轻量级容器镜像仓库,直接从 Docker 存储驱动提供镜像服务。
3. quic-go 0.53
纯 Go QUIC 实现迎来大规模重构,性能与稳定性显著提升。
4. Parser: SQL-like Querying for Go Struct Slices
实验性库:用类 SQL 语法过滤结构体切片,简化复杂数据操作。
5. Don’t Mock the Database: Data Fixtures are Parallel Safe and Fast
用数据夹具替代模拟数据库,实现并行安全的测试加速方案。
6. SSHTron: Multiplayer Tron over SSH
通过 SSH 运行的多人贪吃蛇游戏,展示终端娱乐项目可能性。