Posted in

Go代码重构后编译中断?用git bisect + go build -x + diff -u <(go list -f '{{.Imports}}')生成依赖漂移预警报告

第一章:Go代码重构后编译中断的 … Go代码重构后编译中断?用git bisect + go build -x + diff -u <(go list -f '{{.Imports}}')生成依赖漂移预警报告Read more

Posted in

Go vendor目录遭篡改怎么办?使用go mod verify + git-bisect + go-sumdb三方交叉校验(附Shell一键检测脚本)

第一章:Go vendor目录遭 … Go vendor目录遭篡改怎么办?使用go mod verify + git-bisect + go-sumdb三方交叉校验(附Shell一键检测脚本)Read more

Posted in

Go库性能退化追踪术:pprof火焰图+go tool trace+git bisect三连击,30分钟定位v1.15→v1.21中regexp包慢2.3倍元凶

第一章:Go库性能退化追踪术全景 … Go库性能退化追踪术:pprof火焰图+go tool trace+git bisect三连击,30分钟定位v1.15→v1.21中regexp包慢2.3倍元凶Read more

Posted in

Go语言模块版本漂移失控?用git bisect + go run -mod=mod定位首次引入breaking change的commit(附自动化diff检测脚本)

第一章:Go语言模块版本漂移失控 … Go语言模块版本漂移失控?用git bisect + go run -mod=mod定位首次引入breaking change的commit(附自动化diff检测脚本)Read more