Go: cmd/go/internal/version Index | Files

package version

import "cmd/go/internal/version"

Package version implements the “go version” command.

Index

Package Files

version.go

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.`,
}

Package version imports 3 packages (graph) and is imported by 5 packages. Updated 2019-06-13. Refresh now. Tools for package owners.