Documentation ¶
Index ¶
Constants ¶
View Source
const ( STABLE_VERSION = "https://golang.org/dl/?mode=json" GO_DOWNLOAD_URL = "https://golang.org/dl" // redirects to https://dl.google.com/go )
Variables ¶
View Source
var ( OperatingSystems = []string{"aix", "darwin", "dragonfly", "freebsd", "illumos", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows"} Architectures = []string{"386", "amd64", "arm", "arm64", "ppc64", "ppc64le", "mips", "mips64", "mips64le", "riscv64", "s390x", "wasm"} )
Functions ¶
func DownloadAndVerify ¶
DownloadAndVerify downloads the Go binary that is passed in and verify it against its sha256 checksum. If there is already a local file that matches the checksum then it will not download another version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.