package version

import "cmd/go/internal/version"

Package version implements the “go version” command.

Index

Variables

var CmdVersion = &base.Command{
	Run:       runVersion,
	UsageLine: "version",
	Short:     "print Go version",
	Long:      `Version prints the Go version, as reported by runtime.Version.`,
}

Source Files

version.go

Version
v1.9.2
Published
Oct 25, 2017
Platform
js/wasm
Imports
3 packages
Last checked
5 minutes ago

Tools for package owners.