-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: go mod graph shows indirect dependencies as requirements of main module #27309
Comments
I am also facing this issue. [root@dev backend]# cat go.mod require ( |
@gopherbot add label modules |
note: I'm not sure why things like runc and other somewhat 'heavy' things are added here, and 'go mod graph' doesn't really explain anything. I've tried pruning and recreating both but they just come back. hopefully golang/go#27309 can provide some answers.
I believe this is working as intended. Quoting
The critical sentence is the last one. This might help: https://github.com/go-modules-by-example/index/blob/master/018_go_list_mod_graph_why/README.md cc @bcmills but I'm going to mark this as closed. |
|
What version of Go are you using (
go version
)?Go 1.11
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
What did you see instead?
Only happens with indirect dependencies.
The text was updated successfully, but these errors were encountered: