Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Complete = color.GreenString
View Source
var Key = color.HiBlueString
View Source
var Map = func(value map[string]string, prefix, separator string) string { result := "" var keys []string for key := range value { keys = append(keys, key) } sort.Strings(keys) for _, key := range keys { result += fmt.Sprintf("%s%s=%s%s", prefix, key, value[key], separator) } if color.Enabled() { return Key(strings.TrimSpace(result)) } return "'" + strings.TrimSpace(result) + "'" }
View Source
var Prefix = color.CyanString
View Source
var ProgressBar = color.HiBlueString
View Source
var Step = func(format string, a ...interface{}) string { return color.CyanString("===> "+format, a...) }
View Source
var Symbol = func(value string) string { if color.Enabled() { return Key(value) } return "'" + value + "'" }
View Source
var SymbolF = func(format string, a ...interface{}) string { if color.Enabled() { return Key(format, a...) } return "'" + fmt.Sprintf(format, a...) + "'" }
View Source
var Waiting = color.HiBlackString
View Source
var Working = color.HiBlueString
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.