color

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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() //nolint:gochecknoglobals
	// Green text color.
	Green = color.New(color.FgHiGreen).Add(color.Bold).SprintFunc() //nolint:gochecknoglobals
	// Yellow text color.
	Yellow = color.New(color.FgHiYellow).Add(color.Bold).SprintFunc() //nolint:gochecknoglobals
	// Blue text color.
	Blue = color.New(color.FgBlue).SprintFunc() //nolint:gochecknoglobals
)

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