color

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func BluePrintf

func BluePrintf(format string, a ...interface{})

func BluePrintln

func BluePrintln(a ...interface{})

func BlueSprintf

func BlueSprintf(format string, a ...interface{}) string

func DisableColor

func DisableColor()

func GreenPrintf

func GreenPrintf(format string, a ...interface{})

func GreenPrintln

func GreenPrintln(a ...interface{})

func GreenSprintf

func GreenSprintf(format string, a ...interface{}) string

func IsSupported

func IsSupported() bool

func RedPrintf

func RedPrintf(format string, a ...interface{})

func RedPrintln

func RedPrintln(a ...interface{})

func RedSprintf

func RedSprintf(format string, a ...interface{}) string

func YellowPrintf

func YellowPrintf(format string, a ...interface{})

func YellowPrintln

func YellowPrintln(a ...interface{})

func YellowSprintf

func YellowSprintf(format string, a ...interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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