go/src/internal/goversion/goversion.go
Brad Fitzpatrick 64e29f94e2 internal/goversion: add new package, move Go 1.x constant there out of go/build
Found by Josh, who says in the bug that it shrinks cmd/compile by 1.6 MB (6.5%).

Fixes #31563

Change-Id: I35127af539630e628a0a4f2273af519093536c38
Reviewed-on: https://go-review.googlesource.com/c/go/+/172997
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2019-04-19 18:04:35 +00:00

13 lines
450 B
Go

// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package goversion
// Version is the current Go 1.x version. During development cycles on
// the master branch it changes to be the version of the next Go 1.x
// release.
//
// When incrementing this, also add to the list at src/go/build/doc.go
// (search for "onward").
const Version = 13