зеркало из https://github.com/golang/build.git
version: add Go 1.9.6 and 1.10.2
Change-Id: I9598f9b0415283a5b70d023fd0aeca1b73d064d2 Reviewed-on: https://go-review.googlesource.com/110629 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
001aa5e173
Коммит
8054bb008d
|
@ -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.10.2 command runs the go command from go1.10.2.
|
||||
//
|
||||
// To install, run:
|
||||
//
|
||||
// $ go get golang.org/x/build/version/go1.10.2
|
||||
// $ go1.10.2 download
|
||||
//
|
||||
// And then use the go1.10.2 command as if it were your normal go
|
||||
// command.
|
||||
//
|
||||
// See the release notes at https://golang.org/doc/go1.10.2
|
||||
//
|
||||
// File bugs at https://golang.org/issues/new
|
||||
package main
|
||||
|
||||
import "golang.org/x/build/version"
|
||||
|
||||
func main() {
|
||||
version.Run("go1.10.2")
|
||||
}
|
|
@ -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.6 command runs the go command from go1.9.6.
|
||||
//
|
||||
// To install, run:
|
||||
//
|
||||
// $ go get golang.org/x/build/version/go1.9.6
|
||||
// $ go1.9.6 download
|
||||
//
|
||||
// And then use the go1.9.6 command as if it were your normal go
|
||||
// command.
|
||||
//
|
||||
// See the release notes at https://golang.org/doc/go1.9.6
|
||||
//
|
||||
// File bugs at https://golang.org/issues/new
|
||||
package main
|
||||
|
||||
import "golang.org/x/build/version"
|
||||
|
||||
func main() {
|
||||
version.Run("go1.9.6")
|
||||
}
|
Загрузка…
Ссылка в новой задаче