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: go mod why isn't enlightening for non-build dependencies #37162

Closed
dsymonds opened this issue Feb 11, 2020 · 1 comment
Closed

cmd/go: go mod why isn't enlightening for non-build dependencies #37162

dsymonds opened this issue Feb 11, 2020 · 1 comment
Labels
FrozenDueToAge GoCommand cmd/go modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@dsymonds
Copy link
Contributor

What version of Go are you using (go version)?

$ go version
go version devel +0377f06168 Tue Dec 17 20:57:06 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?

Unknown

What did you do?

Check out a clean copy of cloud.google.com/go, and run go mod why dmitri.shuralyov.com/gpu/mtl in its main module.

Providing -m to the command doesn't change it either.

What did you expect to see?

I expect to see some list of packages that show the dependency tree.

What did you see instead?

# dmitri.shuralyov.com/gpu/mtl
(main module does not need module dmitri.shuralyov.com/gpu/mtl)

/cc @robpike @dmitshur

@dmitshur dmitshur added GoCommand cmd/go modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Feb 11, 2020
@bcmills
Copy link
Contributor

bcmills commented Feb 11, 2020

Duplicate of #27900

@bcmills bcmills marked this as a duplicate of #27900 Feb 11, 2020
@bcmills bcmills closed this as completed Feb 11, 2020
@golang golang locked and limited conversation to collaborators Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants