|
|
|
|
|
by nikolayasdf123
505 days ago
|
|
what is also concerning, Go team years ago did small vote, small survey of positive occurrences, and decided to enforce it globally for anyone. old design give people option to use `tools.go` approach, or other, or nothing at all. now they are enforcing this `tools.go` standard. Go looks to be moving into very restrictive territories. what about surveying opposing views? what about people who did not use `tools.go` what is going on in Google, Go team? |
|
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.