We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version
go version go1.10.3 linux/amd64 vgo:devel +88c76dcbab
(vgo is at 20939850793927db78c179dcfcd5d4d6f44f2c01)
go env
linux/amd64
I ran vgo clean -modcache outside of a module.
vgo clean -modcache
The mod directory is made empty.
vgo exited with the following error:
go: cannot find main module root; see 'go help modules'
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/126115 mentions this issue: cmd/go/internal/clean: support "clean -modcache" operates outside a module
cmd/go/internal/clean: support "clean -modcache" operates outside a module
Sorry, something went wrong.
Change https://golang.org/cl/126655 mentions this issue: cmd/go: split go mod into multiple subcommands
cmd/go: split go mod into multiple subcommands
6121987
No branches or pull requests
What version of Go are you using (
go version
)?go version go1.10.3 linux/amd64 vgo:devel +88c76dcbab
(vgo is at 20939850793927db78c179dcfcd5d4d6f44f2c01)
What operating system and processor architecture are you using (
go env
)?linux/amd64
What did you do?
I ran
vgo clean -modcache
outside of a module.What did you expect to see?
The mod directory is made empty.
What did you see instead?
vgo exited with the following error:
The text was updated successfully, but these errors were encountered: