ui

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = func(err error) {
	color.Red(err.Error())
}

Error outputs a red message error from an error

View Source
var Info = func(message string) {
	color.Cyan(message)
}

Info outputs a blue info message

View Source
var Prompt = func(prompt string) {
	color.Yellow(fmt.Sprintf("\n%s: ", prompt))
}

Prompt outputs a yellow prompt

View Source
var Success = func(message string) {
	color.Green(message)
}

Success outputs a green successful message

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