cmd/go/doc: behaviour of "go doc" in module mode is not documented #61032
Labels
Documentation
Issues describing a change to documentation.
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The documentation for
go doc
still refers to GOPATH mode. No mention of Go module mode (which is now the default behavior).What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (1.21rc2).
See https://pkg.go.dev/cmd/go@master#hdr-Show_documentation_for_package_or_symbol
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ go help doc
Or online: https://pkg.go.dev/cmd/go@master#hdr-Show_documentation_for_package_or_symbol
What did you expect to see?
Documentation of the "go doc" behavior in Go module mode, with no mention of GOPATH.
What did you see instead?
The text was updated successfully, but these errors were encountered: