Skip to content
New issue

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

cmd/go: what is the `go 1.12` statement that `go mod tidy` is generating in my go.mod? #30603

Closed
jadekler opened this issue Mar 5, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@jadekler
Copy link
Contributor

commented Mar 5, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12rc1 linux/amd64

go mod tidy generates a go.mod as such:

module github.com/googleapis/google-cloud-go-testing

go 1.12

require (
	cloud.google.com/go v0.36.0
	golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f
	golang.org/x/tools v0.0.0-20190305160728-f8c04913dfb7
	google.golang.org/api v0.1.0
	honnef.co/go/tools v0.0.0-20190215041234-466a0476246c
)

I can guess that go 1.12 is requiring users to use Go 1.12 or greater, but is this documented in a specification somewhere? Where can I read more about this?

@bradfitz

This comment has been minimized.

Copy link
Member

commented Mar 5, 2019

@bradfitz bradfitz closed this Mar 5, 2019

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Mar 5, 2019

See also #28221.

@jadekler

This comment has been minimized.

Copy link
Contributor Author

commented Mar 5, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.