colors

package
v0.0.0-...-b7f1d04 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorReset   = "\033[0m"
	ColorRed     = "\033[31m"
	ColorGreen   = "\033[32m"
	ColorYellow  = "\033[33m"
	ColorBlue    = "\033[34m"
	ColorPurple  = "\033[35m"
	ColorCyan    = "\033[36m"
	ColorWhite   = "\033[37m"
	ColorMagenta = "\033[35m"
)
View Source
const (
	TxtCyanBold  = "\033[1;36m"
	TxtWhiteBold = "\033[1;37m"
)

Variables

This section is empty.

Functions

func BlueColor

func BlueColor(str string) string

func CoBlue

func CoBlue() string

func CoCyan

func CoCyan() string

func CoGreen

func CoGreen() string

func CoPurple

func CoPurple() string

func CoRed

func CoRed() string

func CoReset

func CoReset() string

func CoWhite

func CoWhite() string

func CoYellow

func CoYellow() string

func CyanColor

func CyanColor(str string) string

func GreenColor

func GreenColor(str string) string

func PurpleColor

func PurpleColor(str string) string

func RedColor

func RedColor(str string) string

func ResetColor

func ResetColor(str string) string

The function prefix's and postfix's the string with reset parameter (\033[0m)

func WhiteColor

func WhiteColor(str string) string

func YellowColor

func YellowColor(str 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