util

package
v0.0.0-...-d0717c5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Escape    = "\u001B["
	Bold      = "1"
	FGBlack   = "30m"
	FGRed     = "31m"
	FGGreen   = "32m"
	FGYellow  = "33m"
	FGBlue    = "34m"
	FGMagenta = "35m"
	FGCyan    = "36m"
	FGWhite   = "37m"
	BGBlack   = "40m"
	BGRed     = "41m"
	BGGreen   = "42m"
	BGYellow  = "43m"
	BGBlue    = "44m"
	BGMagenta = "45m"
	BGCyan    = "46m"
	BGWhite   = "47m"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ANSIColors

type ANSIColors struct {
	KerriaFlower   string
	Action         string
	Success        string
	VersionControl string
	Timestamp      string
	ExplainSection string
	ExplainField   string
	ExplainType    string
	Reset          string
}

func Colors

func Colors(enable bool) ANSIColors

Jump to

Keyboard shortcuts

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