-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go mod tidy adds many indirect modules #27428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@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. |
@thepudds thx for looking. My repo is just playground. I use only Consul as dependency. I’m not sure that all indirect modules are consul dependencies, but they seem to be. Prometheus, Datadog, Appengine, ... |
Nothing strange here anymore. I close it. Thx. |
Please answer these questions before submitting your issue. Thanks!
What did you do?
go mod tidy
What did you expect to see?
What did you see instead?
and go.mod looks like:
System details
The text was updated successfully, but these errors were encountered: