colors

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Red is the color red
	Red = color.New(color.FgRed).SprintFunc()
	// Yellow is the color yellow
	Yellow = color.New(color.FgYellow).SprintFunc()
	// Blue is the color blue
	Blue = color.New(color.FgBlue).SprintFunc()
	// Green is the color Green
	Green = color.New(color.FgGreen).SprintFunc()
	// ColorStdOut is a wrapped std out that allows colors
	ColorStdOut = log.New(colorable.NewColorableStdout(), "", 0)
	// ColorStdErr is a wrapped std err that allows colors
	ColorStdErr = log.New(colorable.NewColorableStderr(), "", 0)
	// Cyan is the color cyan
	Cyan = color.New(color.FgCyan).SprintFunc()
)

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