package version

import "cmd/go/internal/version"

Package version implements the “go version” command.

Index

Variables

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

Source Files

version.go

Version
v1.12.10
Published
Sep 25, 2019
Platform
linux/amd64
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.