Skip to content
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

cmd/go: add a 'go mod why' mode to answer “why this specific version?” #28800

bcmills opened this issue Nov 14, 2018 · 1 comment


None yet
1 participant
Copy link

commented Nov 14, 2018

As noted in #28795 (comment), today we can use go mod graph to figure out which module imposes a particular version of a dependency, then use go mod why to figure out why that module is included.

However, that's two queries to answer what is logically a single question: “why was this version of the module selected?” Perhaps we should add a go mod why flag to answer that question more directly.

(CC @rsc @myitcv @thepudds)


This comment has been minimized.

Copy link
Member Author

commented Nov 15, 2018

Re-reading #27900, I realize that this is a duplicate. Oops!

@bcmills bcmills closed this Nov 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.