color

package
v0.0.0-...-703489d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Red text color.
	Red = color.New(color.FgHiRed).Add(color.Bold).SprintFunc()
	// Green text color.
	Green = color.New(color.FgGreen).Add(color.Bold).SprintFunc()
	// Yellow text color.
	Yellow = color.New(color.FgYellow).SprintFunc()
	// Blue text color.
	Blue = color.New(color.FgBlue).SprintFunc()
)

Functions

func SetupMode

func SetupMode()

SetupMode will set the output color mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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