style

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Complete = color.GreenString
View Source
var Error = color.New(color.FgRed, color.Bold).SprintfFunc()
View Source
var Noop = func(format string, a ...interface{}) string {
	return color.WhiteString("") + fmt.Sprintf(format, a...)
}
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(format string, a ...interface{}) string {
	if color.Enabled() {
		return Key(format, a...)
	}
	return "'" + fmt.Sprintf(format, a...) + "'"
}
View Source
var TimestampColorCode = color.FgHiBlack
View Source
var Tip = color.New(color.FgGreen, color.Bold).SprintfFunc()
View Source
var Warn = color.New(color.FgYellow, color.Bold).SprintfFunc()

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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