Documentation
¶
Overview ¶
Package versions has the version manipulation functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions compares a version with the required version
func ListLocalVersions ¶
func ListLocalVersions() (result []string)
ListLocalVersions lists the local (installed) versions
func ParseVersionName ¶
ParseVersionName removes the special character from HTML text
Types ¶
type GoVersion ¶
type GoVersion struct {
Name string
LinuxAmd64 string
LinuxArm64 string
Source string
LinuxAmd64Checksum string
LinuxArm64Checksum string
SourceChecksum string
}
GoVersion golang version representation
func FilterVersion ¶
FilterVersion filter version slice by name
func ListAvailableVersions ¶
func ListAvailableVersions() []GoVersion
ListAvailableVersions lists available Go versions
func (*GoVersion) GetChecksum ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.