color

package
v0.7.28 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset      = "\033[0m"
	Bold       = "\033[1m"
	Red        = "\033[31m"
	Green      = "\033[32m"
	Yellow     = "\033[33m"
	Blue       = "\033[34m"
	Purple     = "\033[35m"
	Cyan       = "\033[36m"
	Gray       = "\033[37m"
	White      = "\033[97m"
	BoldRed    = "\033[1;31m"
	BoldGreen  = "\033[1;32m"
	BoldYellow = "\033[1;33m"
	BoldBlue   = "\033[1;34m"
	BoldPurple = "\033[1;35m"
	BoldCyan   = "\033[1;36m"
	BoldGray   = "\033[1;37m"
	BoldWhite  = "\033[1;97m"
)

Variables

This section is empty.

Functions

func Colorize

func Colorize(color, s string) string

func InBlue

func InBlue(s string) string

func InBold

func InBold(s string) string

func InBoldBlue

func InBoldBlue(s string) string

func InBoldCyan

func InBoldCyan(s string) string

func InBoldGray

func InBoldGray(s string) string

func InBoldGreen

func InBoldGreen(s string) string

func InBoldPurple

func InBoldPurple(s string) string

func InBoldRed

func InBoldRed(s string) string

func InBoldWhite

func InBoldWhite(s string) string

func InBoldYellow

func InBoldYellow(s string) string

func InCyan

func InCyan(s string) string

func InGray

func InGray(s string) string

func InGreen

func InGreen(s string) string

func InPurple

func InPurple(s string) string

func InRed

func InRed(s string) string

func InWhite

func InWhite(s string) string

func InYellow

func InYellow(s 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