aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-01-09 19:32:53 -0800
committerChristine Dodrill <me@christine.website>2017-01-09 19:32:53 -0800
commit317b741ffc666cb281fc4ca36048fe470cd3b144 (patch)
tree7ada46c42517bc1ef3d7956d1b983c49d195fa3e
parentf91dfeb71d8dd638238d3f30be82f3e2b9c290f6 (diff)
downloadx-317b741ffc666cb281fc4ca36048fe470cd3b144.tar.xz
x-317b741ffc666cb281fc4ca36048fe470cd3b144.zip
add go version helpers
-rw-r--r--gover/go1.4.3/main.go24
-rw-r--r--gover/go1.7.4/main.go24
2 files changed, 48 insertions, 0 deletions
diff --git a/gover/go1.4.3/main.go b/gover/go1.4.3/main.go
new file mode 100644
index 0000000..db63631
--- /dev/null
+++ b/gover/go1.4.3/main.go
@@ -0,0 +1,24 @@
+// Copyright 2016 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.
+
+// The go1.4.3 command runs the go command from go1.4.3.
+//
+// To install, run:
+//
+// $ go get golang.org/x/build/version/go1.4.3
+// $ go1.4.3 download
+//
+// And then use the go1.4.3 command as if it were your normal go
+// command.
+//
+// See the release notes at https://beta.golang.org/doc/go1.4
+//
+// File bugs at http://golang.org/issues/new
+package main
+
+import "golang.org/x/build/version"
+
+func main() {
+ version.Run("go1.4.3")
+}
diff --git a/gover/go1.7.4/main.go b/gover/go1.7.4/main.go
new file mode 100644
index 0000000..cf56267
--- /dev/null
+++ b/gover/go1.7.4/main.go
@@ -0,0 +1,24 @@
+// Copyright 2016 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.
+
+// The go1.7.4 command runs the go command from go1.7.4.
+//
+// To install, run:
+//
+// $ go get golang.org/x/build/version/go1.7.4
+// $ go1.7.4 download
+//
+// And then use the go1.7.4 command as if it were your normal go
+// command.
+//
+// See the release notes at https://beta.golang.org/doc/go1.4
+//
+// File bugs at http://golang.org/issues/new
+package main
+
+import "golang.org/x/build/version"
+
+func main() {
+ version.Run("go1.7.4")
+}