cmd/go: document that go mod init
can guess the module path when inside GOPATH
#36775
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
go mod help init
says:However when calling
go mod init
(on an empty project) inside$GOPATH
, the module path is correctly guessed.On the other hand, when
go mod init
is called outside$GOPATH
, it reports an error:This is not documented.
The text was updated successfully, but these errors were encountered: