version: add all released versions in [go1.8, go1.9.2]

Fixes golang/go#23207.

Change-Id: I2e68962607bb48b88b4062cf5b4aac5b33f2763e
Reviewed-on: https://go-review.googlesource.com/85335
Reviewed-by: Andrew Bonventre <andybons@golang.org>
This commit is contained in:
Caleb Spare 2017-12-22 11:01:26 -08:00 коммит произвёл Andrew Bonventre
Родитель bc870f3c56
Коммит 79fafde650
9 изменённых файлов: 216 добавлений и 0 удалений

24
version/go1.8.1/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.8.1 command runs the go command from go1.8.1.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.8.1
// $ go1.8.1 download
//
// And then use the go1.8.1 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.8
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.8.1")
}

24
version/go1.8.2/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.8.2 command runs the go command from go1.8.2.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.8.2
// $ go1.8.2 download
//
// And then use the go1.8.2 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.8
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.8.2")
}

24
version/go1.8.3/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.8.3 command runs the go command from go1.8.3.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.8.3
// $ go1.8.3 download
//
// And then use the go1.8.3 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.8
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.8.3")
}

24
version/go1.8.4/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.8.4 command runs the go command from go1.8.4.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.8.4
// $ go1.8.4 download
//
// And then use the go1.8.4 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.8
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.8.4")
}

24
version/go1.8.5/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.8.5 command runs the go command from go1.8.5.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.8.5
// $ go1.8.5 download
//
// And then use the go1.8.5 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.8
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.8.5")
}

24
version/go1.8/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.8 command runs the go command from go1.8.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.8
// $ go1.8 download
//
// And then use the go1.8 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.8
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.8")
}

24
version/go1.9.1/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.9.1 command runs the go command from go1.9.1.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.9.1
// $ go1.9.1 download
//
// And then use the go1.9.1 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.9
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.9.1")
}

24
version/go1.9.2/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.9.2 command runs the go command from go1.9.2.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.9.2
// $ go1.9.2 download
//
// And then use the go1.9.2 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.9
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.9.2")
}

24
version/go1.9/main.go Normal file
Просмотреть файл

@ -0,0 +1,24 @@
// Copyright 2018 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.9 command runs the go command from go1.9.
//
// To install, run:
//
// $ go get golang.org/x/build/version/go1.9
// $ go1.9 download
//
// And then use the go1.9 command as if it were your normal go
// command.
//
// See the release notes at https://golang.org/doc/go1.9
//
// File bugs at https://golang.org/issues/new
package main
import "golang.org/x/build/version"
func main() {
version.Run("go1.9")
}