color

package
v0.0.0-...-4fc5b5b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Red     = color.FgRed
	Blue    = color.FgBlue
	Magenta = color.FgMagenta
	Cyan    = color.FgCyan
	Green   = color.FgGreen
	White   = color.FgWhite

	RedOutput     = color.New(Red).SprintFunc()
	BlueOutput    = color.New(Blue).SprintFunc()
	MagentaOutput = color.New(Magenta).SprintFunc()
	CyanOutput    = color.New(Cyan).SprintFunc()
	GreenOutput   = color.New(Green).SprintFunc()
	GreyOutput    = color.New(White).SprintFunc()
)

Functions

func NewColorableWriter

func NewColorableWriter(clr color.Attribute, writer io.Writer) io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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