Documentation ¶
Index ¶
- func CreateFile(path string, content string) error
- func DownloadFile(filename string, url string) error
- func DownloadLib(lib Lib) error
- func GetLatestVersion() (string, error)
- func Print(str string)
- func PrintError(err error)
- func PrintErrorStr(str string)
- func PrintOk()
- func PrintPretty(v interface{})
- func PrintWarning(err error)
- func PrintWarningStr(str string)
- func Println(str string)
- func QuitFatal(err error)
- func ReadLine(prompt string) string
- func SetConsoleTitle(title string) (int, error)
- func URLValid(url string) bool
- type Lib
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
CreateFile creates / overwrites a file with content
func DownloadFile ¶
DownloadFile downloads a file and display status
func GetLatestVersion ¶
GetLatestVersion returns the latest version from github
func SetConsoleTitle ¶
SetConsoleTitle sets windows console title
Types ¶
Click to show internal directories.
Click to hide internal directories.