console

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mono = &ansiPrinter{
		frame:      chromeless,
		koFile:     chromeless,
		goFile:     chromeless,
		ref:        chromeless,
		func_:      chromeless,
		step:       chromeless,
		string_:    chromeless,
		field:      chromeless,
		taskStderr: chromeless,
	}
	ANSI = &ansiPrinter{
		frame:      color.New(color.FgCyan).SprintFunc(),
		koFile:     color.New(color.FgGreen).SprintFunc(),
		goFile:     color.New(color.FgRed).SprintFunc(),
		ref:        color.New(color.Bold).SprintFunc(),
		func_:      color.New(color.Underline).SprintFunc(),
		step:       color.New(color.Bold).SprintFunc(),
		string_:    color.New(color.FgBlue).SprintFunc(),
		field:      color.New(color.Bold).SprintFunc(),
		taskStderr: color.New(color.FgGreen).SprintFunc(),
	}
)

Functions

This section is empty.

Types

type Console

type Console interface {
	Frame(...interface{}) string
	KoFile(...interface{}) string
	GoFile(...interface{}) string
	Ref(...interface{}) string
	Func(...interface{}) string
	Step(...interface{}) string
	String(...interface{}) string
	Field(...interface{}) string
	TaskStderr(...interface{}) string
}

Jump to

Keyboard shortcuts

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