colors

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoColor = ""
	Red     = "red"
	Green   = "green"
	Yellow  = "yellow"
)

Color Strings

View Source
const (
	ColorizationNone = iota
	ColorizationBoolNormal
	ColorizationBoolReversed
	ColorizationNumber
	ColorizationBut
	ColorizationOnly
)

colorizations

Variables

This section is empty.

Functions

func Calc

func Calc(col uint8, v interface{}) string

Calc calculates the color for a given value according to the colorization scheme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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