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 go version go1.12.5 linux/amd64
Yes
go get a main package in a modules based project.
go get
The got main package should not be added as a dependency in go.mod.
The got main package is added as an indirect dependency in go.mod.
The text was updated successfully, but these errors were encountered:
Duplicate of #30515
Sorry, something went wrong.
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
go get
a main package in a modules based project.What did you expect to see?
The got main package should not be added as a dependency in go.mod.
What did you see instead?
The got main package is added as an indirect dependency in go.mod.
The text was updated successfully, but these errors were encountered: