cmd/go: list of .Deps shows a mix golang.org and golang_org items #25592
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go 1.10.2
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?darwin amd64
What did you do?
I'm running this command to find dependencies of my program that are located in
vendor/
:(Output of this command is listed below.)
In this list, there's a mix of both
vendor/golang_org/...
(note the underscore), andvendor/golang.org/...
. But in reality, there's onlyvendor/golang.org/...
on my filesystem.Looks like some special treatment of string
golang_org/x/
in the Go source tree:go/src/cmd/api/goapi.go
Line 440 in 4258b43
I can't tell why it is taking effect but it is confusing, and probably should not happen.
What did you expect to see?
vendor/golang_org/...
items in the{{.Deps}}
should be listed asvendor/golang.org/...
which is how they appear in the filesystem.What did you see instead?
vendor/golang_org/...
instead ofvendor/golang.org/...
for some reason I cannot figure out.The text was updated successfully, but these errors were encountered: