Documentation
¶
Index ¶
- Variables
- func BytesToString(data []byte) string
- func CheckError(err error, format string)
- func DownloadWithProgress(url string, tarName string, destFolder string) (err error)
- func Errorf(format string, a ...interface{})
- func Errorln(a ...interface{})
- func Fatal(a ...interface{})
- func Fatalf(format string, a ...interface{})
- func Find(slice []string, val string) bool
- func Infof(format string, a ...interface{})
- func Infoln(a ...interface{})
- func Major(a ...interface{})
- func Print(a ...interface{})
- func Printf(format string, a ...interface{})
- func Println(a ...interface{})
- func Successf(format string, a ...interface{})
- func Successln(a ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ColorError = color.New(color.FgHiRed)
View Source
var ColorInfo = color.New(color.FgHiYellow)
View Source
var ColorMajorVersion = color.New(color.FgHiYellow)
View Source
var ColorSuccess = color.New(color.FgHiGreen)
Functions ¶
func BytesToString ¶
func CheckError ¶ added in v1.6.5
func DownloadWithProgress ¶ added in v1.6.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.