Hacker News new | ask | show | jobs
by nikolayasdf123 500 days ago
UPD: check this github comment. https://github.com/golang/go/issues/48429#issuecomment-26184...

basically it go tool relies heavily on go module pruning, so transitive dependencies from tools are not propagated downstream.

also, official docs say this: https://tip.golang.org/doc/modules/managing-dependencies#too...

> Due to module pruning, when you depend on a module that itself has a tool dependency, requirements that exist just to satisfy that tool dependency do not usually become requirements of your module.