Posted in

【Go内存治理SOP】:CI阶段自动注入leakcheck(基于go:build tag + testing.T.Cleanup),拦截99.2%泄漏代码入库

第一章:Go内存泄漏的本质与CI … 【Go内存治理SOP】:CI阶段自动注入leakcheck(基于go:build tag + testing.T.Cleanup),拦截99.2%泄漏代码入库Read more

Posted in

Go JSON序列化检测盲区清单:struct tag缺失、omitempty误用、time.Time时区丢失的4类自动检测规则(含AST解析源码)

第一章:Go JSON序列化检测 … Go JSON序列化检测盲区清单:struct tag缺失、omitempty误用、time.Time时区丢失的4类自动检测规则(含AST解析源码)Read more

Posted in

Go 1.20+启动报错“unknown field ‘XXX’ in struct literal”?struct tag变更与go vet –composites误报鉴别指南

第一章:Go 1.20+启动报错 … Go 1.20+启动报错“unknown field ‘XXX’ in struct literal”?struct tag变更与go vet –composites误报鉴别指南Read more