utils

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []pkg.Tool, toolName string) (int, bool)

func FetchToolList

func FetchToolList() ([]pkg.Tool, error)

func GetUpdaterCallback

func GetUpdaterCallback(toolName string) func()

returns a callback function when executed updates that tool

func GetVersionCheckCallback

func GetVersionCheckCallback(toolName string) func() string

returns a callback function and when it is executed returns a version string of that tool

func InstalledVersion

func InstalledVersion(tool pkg.Tool, au *aurora.Aurora) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL