go mod download : no congruence between command result and help description #41982
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
generate the follow project:
. ├── go.mod ├── go.sum └── main.go
go.mod generate with
go mod init project/test
and install dependencies withgo get google.golang.org/grpc
go mod download (with an existent go.mod and main.go)
and
go help mod download
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When running the command
go mod download
in directory with a go.mod and main.go files, this command returngo mod download: no modules specified (see 'go help mod download')
What did you expect to see?
According to
go help mod download
:using the command
go mod download all
the dependencies are installed as expectedThe text was updated successfully, but these errors were encountered: