Documentation
¶
Index ¶
- Constants
- func Black(text string) string
- func BlackBold(text string) string
- func Blue(text string) string
- func BlueBold(text string) string
- func Bold(text string) string
- func Cyan(text string) string
- func CyanBold(text string) string
- func Get(color string, text string) string
- func Green(text string) string
- func GreenBold(text string) string
- func Purple(text string) string
- func PurpleBold(text string) string
- func Red(text string) string
- func RedBold(text string) string
- func ShowExample()
- func White(text string) string
- func WhiteBold(text string) string
- func Yellow(text string) string
- func YellowBold(text string) string
Constants ¶
View Source
const BLACK = "\033[0;30m"
BLACK – BLACK
View Source
const BLACKBOLD = "\033[1;30m"
BLACKBOLD – BLACKBOLD
View Source
const BLUE = "\033[0;34m"
BLUE – BLUE
View Source
const BLUEBOLD = "\033[1;34m"
BLUEBOLD – BLUEBOLD
View Source
const BOLD = "\033[1m"
BOLD – BOLD
View Source
const CYAN = "\033[0;36m"
CYAN – CYAN
View Source
const CYANBOLD = "\033[1;36m"
CYANBOLD – CYANBOLD
View Source
const GREEN = "\033[0;32m"
GREEN – GREEN
View Source
const GREENBOLD = "\033[1;32m"
GREENBOLD – GREENBOLD
View Source
const NC = "\033[0m"
NC – Reset Color
View Source
const PURPLE = "\033[0;35m"
PURPLE – PURPLE
View Source
const PURPLEBOLD = "\033[1;35m"
PURPLEBOLD – PURPLEBOLD
View Source
const RED = "\033[0;31m"
RED – RED
View Source
const REDBOLD = "\033[1;31m"
REDBOLD – REDBOLD
View Source
const WHITE = "\033[0;37m"
WHITE – WHITE
View Source
const WHITEBOLD = "\033[1;37m"
WHITEBOLD – WHITEBOLD
View Source
const YELLOW = "\033[0;33m"
YELLOW – YELLOW
View Source
const YELLOWBOLD = "\033[1;33m"
YELLOWBOLD – YELLOWBOLD
Variables ¶
This section is empty.
Functions ¶
func ShowExample ¶
func ShowExample()
ShowExample - Print out all different colors that are supported
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.