Documentation
¶
Index ¶
- Variables
- func DeleteVersion(version GoVersion) tea.Cmd
- func DownloadAndInstall(version GoVersion) tea.Cmd
- func FetchGoVersions() tea.Msg
- func GetCurrentGoVersion() string
- func GetShimPathInstructions() string
- func GetVersion() string
- func IsShimInPath() bool
- func SetupShimDirectory() error
- func SwitchVersion(version GoVersion) tea.Cmd
- type DeleteCompleteMsg
- type DownloadCompleteMsg
- type ErrMsg
- type GoVersion
- type SwitchCompletedMsg
- type VersionsMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Functions ¶
func DeleteVersion ¶ added in v0.0.2
func DownloadAndInstall ¶
func FetchGoVersions ¶
func GetCurrentGoVersion ¶
func GetCurrentGoVersion() string
func GetShimPathInstructions ¶
func GetShimPathInstructions() string
func GetVersion ¶ added in v0.0.2
func GetVersion() string
func SetupShimDirectory ¶
func SetupShimDirectory() error
func SwitchVersion ¶
Types ¶
type DeleteCompleteMsg ¶ added in v0.0.2
type DeleteCompleteMsg struct {
Version string
}
type DownloadCompleteMsg ¶
type SwitchCompletedMsg ¶
type VersionsMsg ¶
type VersionsMsg []GoVersion
Click to show internal directories.
Click to hide internal directories.