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: show why indirect dependencies are needed #26620
What version of Go are you using (
Hm. The current behaviour looks quite broken to me, I can't explain the output of this. Is it because the vast majority of the packages don't have their own concrete mod files yet?
It's confusing that it shows all of these as hanoverd imports - in reality hanoverd only imports a couple of packages, including docker, which results in quite a large tree.
But then, email@example.com gets its own line presumably because it is the only one with a mod file?
Output of `go mod graph`
@rsc: I'm concerned that the above CL might not actually fix the issue presented.
I understand there are two things going on, (1) you are addressing, and (2) not obviously?
It's perhaps not explicitly clear, but in the outputs of
I'd expect this is intended to be shown in