es_color

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Boldf

func Boldf(w io.Writer, format string, a ...interface{})

func Boldfln

func Boldfln(w io.Writer, format string, a ...interface{})

func Colorf

func Colorf(w io.Writer, c Color, bold bool, format string, a ...interface{})

func Colorfln

func Colorfln(w io.Writer, c Color, bold bool, format string, a ...interface{})

Types

type Color

type Color int
const (
	// https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
	ColorBlack Color = iota + 30
	ColorRed
	ColorGreen
	ColorYellow
	ColorBlue
	ColorMagenta
	ColorCyan
	ColorWhite
)

Jump to

Keyboard shortcuts

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