Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentVersion ¶
func ListLocalVersions ¶
ListLocalVersions returns a list of all locally installed versions.
Types ¶
type Version ¶
type Version struct { Version string `json:"version"` Stable bool `json:"stable"` Files []File `json:"files"` }
func LatestStableVersion ¶
LatestStableVersion returns the latest stable version of the go.
func ListRemote ¶
ListRemote returns the available versions of Go from the official download page, filtered by the stable parameter. If the stable parameter is omitted, all versions are returned. The returned versions are sorted by their version number, from the newest to the oldest.
Click to show internal directories.
Click to hide internal directories.