Open
Description
What version of Go are you using (go version
)?
$ go version go version devel go1.21-4dae3bbe0e Tue Jun 6 20:24:31 2023 +0000 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What did you do?
Ran go doc <symbol>
project/mod/modfile$ go doc AutoQuote
package modfile // import "."
...
See // import "."
.
Compare it with the package doc mode output.
project/mod/modfile$ go doc
package modfile // import "golang.org/x/mod/modfile"
...
What did you expect to see?
Current package's import path.
What did you see instead?
Always // import "."
.