Documentation
¶
Index ¶
- Constants
- func Black(content, decoration string) string
- func Blue(content, decoration string) string
- func BrightBlack(content, decoration string) string
- func BrightBlue(content, decoration string) string
- func BrightColor(content, color, decoration string) string
- func BrightCyan(content, decoration string) string
- func BrightGreen(content, decoration string) string
- func BrightMagenta(content, decoration string) string
- func BrightRed(content, decoration string) string
- func BrightWhite(content, decoration string) string
- func BrightYellow(content, decoration string) string
- func Color(content, color, decoration string) string
- func Cyan(content, decoration string) string
- func Green(content, decoration string) string
- func Magenta(content, decoration string) string
- func Red(content, decoration string) string
- func White(content, decoration string) string
- func Yellow(content, decoration string) string
Constants ¶
View Source
const (
Reset = "\u001b[0m"
)
8 Bit colors
Variables ¶
This section is empty.
Functions ¶
func BrightBlack ¶
BrightBlack returns a string rendered in bright black.
func BrightBlue ¶
BrightBlue returns a string rendered in bright blue.
func BrightColor ¶
BrightColor returns a string rendered with the given color.
func BrightCyan ¶
BrightCyan returns a string rendered in bright cyan.
func BrightGreen ¶
BrightGreen returns a string rendered in bright green.
func BrightMagenta ¶
BrightMagenta returns a string rendered in bright magenta.
func BrightWhite ¶
BrightWhite returns a string rendered in bright white.
func BrightYellow ¶
BrightYellow returns a string rendered in bright yellow.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.