Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: go mod tidy adds many indirect modules #27428
Please answer these questions before submitting your issue. Thanks!
What did you do?
What did you expect to see?
What did you see instead?
and go.mod looks like:
@dvrkps a few quick comments, including I will attempt to share my personal understanding.
In contrast, other commands like
More generally, part of the reason modules exist is to record precise dependency requirements (in
In light of that, could you comment a little more on what aspect of your results is unexpected here?
Also, if you are curious why a particular module is showing up in your
There are other useful tools for inspecting requirements and versions, such as
Finally, I am a member of the community just like you, so happy to learn if anything I wrote above is incorrect.