color

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TextBlack = iota + 30
	TextRed
	TextGreen
	TextYellow
	TextBlue
	TextMagenta
	TextCyan
	TextWhite
)
View Source
const (
	BackgroundBlack = iota + 40
	BackgroundRed
	BackgroundGreen
	BackgroundYellow
	BackgroundBlue
	BackgroundMagenta
	BackgroundCyan
	BackgroundWhite
)

Variables

This section is empty.

Functions

func BgBlack

func BgBlack(msg string) string

func BgBlue

func BgBlue(msg string) string

func BgCyan

func BgCyan(msg string) string

func BgGreen

func BgGreen(msg string) string

func BgMagenta

func BgMagenta(msg string) string

func BgRed

func BgRed(msg string) string

func BgWhite

func BgWhite(msg string) string

func BgYellow

func BgYellow(msg string) string

func Black

func Black(msg string) string

func Blue

func Blue(msg string) string

func Cyan

func Cyan(msg string) string

func Green

func Green(msg string) string

func Magenta

func Magenta(msg string) string

func PrintColor

func PrintColor()

func Red

func Red(msg string) string

func SetColor

func SetColor(msg string, conf, bg, text int) string

func White

func White(msg string) string

func Yellow

func Yellow(msg string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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