Documentation ¶
Index ¶
- Variables
- func AddEntry(updatedEntry RepoEntry) error
- func CheckPathEnv()
- func DeleteEntryByName(name string) error
- func DeleteEntryByRepo(repo string) error
- func GetLockFileLines() ([][]string, error)
- func NewProgressBar(size int, description string) *progressbar.ProgressBar
- func ParseRepoPath(repo string) (string, string, error)
- func SelfUpdate(version string) error
- func UpdateEntry(updatedEntry RepoEntry) error
- type Asset
- type RepoEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoInstallPath error = errors.New("no install path provided") ErrNoAbsolutePath error = errors.New("provided install path is not absolute") )
View Source
var ( // InstallPath is the path where the executables will be installed. // Must be in PATH InstallPath string = "" )
Functions ¶
func CheckPathEnv ¶
func CheckPathEnv()
func DeleteEntryByName ¶
func DeleteEntryByRepo ¶
func GetLockFileLines ¶
func NewProgressBar ¶
func SelfUpdate ¶
func UpdateEntry ¶
Types ¶
type Asset ¶
type Asset struct { Name string Alias string OS string Arch string DownloadURL string Tag string // contains filtered or unexported fields }
Asset describes a release asset
Click to show internal directories.
Click to hide internal directories.