You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Under $GOROOT/pkg, create directory p
2. In $GOROOT/pkg/p, create p.go with package clause "package p"
3. In $GOROOT/pkg/p, create q.go with package clause "package q"
4. Point godoc at: /pkg/p/?p=q
What is the expected output? What do you see instead?
The import path should say "import q" (or something like that - the go tool
does not really handle this situation); at the moment it says: "import p"
which is clearly not right.
The text was updated successfully, but these errors were encountered:
I am happy to remove all code dealing with multiple packages in directories, but I am
not convinced yet it is the right approach. For one, godoc should probably still show
what it found somehow (a list of packages?) and not simply show nothing - so at least
some of the logic will have to remain. Furthermore, there are other ways to build a
binary.
The text was updated successfully, but these errors were encountered: