color

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Reset  = "\033[0m"
	Red    = "\033[31m"
	Yellow = "\033[33m"
	Green  = "\033[32m"
	Blue   = "\033[34m"
)
View Source
var PrefixError = Red + "Error:" + Reset

PrefixError adds a red `Error:` prefix

View Source
var PrefixInfo = Green + "Info:" + Reset

PrefixInfo add a green `Info:` prefix

View Source
var PrefixWarn = Yellow + "Warn:" + Reset

PrefixWarn adds a yellow `Warn:` prefix

Functions

func BlueText

func BlueText(msg string) string

BlueText renders given text in blue color

Types

This section is empty.

Jump to

Keyboard shortcuts

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