зеркало из https://github.com/golang/build.git
25 строки
588 B
Go
25 строки
588 B
Go
|
// 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")
|
||
|
}
|