Posted in

Go包依赖树爆炸式增长?用go mod graph –prune和go list -deps -f ‘{{if not .Indirect}}{{.Path}}{{end}}’精简至核心依赖

第一章:Go包依赖树爆炸式增长? … Go包依赖树爆炸式增长?用go mod graph –prune和go list -deps -f ‘{{if not .Indirect}}{{.Path}}{{end}}’精简至核心依赖Read more

Posted in

Go语言包依赖爆炸真相:go list -deps -f ‘{{.ImportPath}}’ | wc -l 命令揭示——中型项目平均引入312个间接包,其中41%从未被直接调用

第一章:Go语言包依赖爆炸的现状 … Go语言包依赖爆炸真相:go list -deps -f ‘{{.ImportPath}}’ | wc -l 命令揭示——中型项目平均引入312个间接包,其中41%从未被直接调用Read more