color

package
v1.3.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJsonFormatter

func NewJsonFormatter(disableColor bool) *prettyjson.Formatter

Types

type DynamicColorGenerator

type DynamicColorGenerator struct {
	// contains filtered or unexported fields
}

func NewDynamicColorGenerator

func NewDynamicColorGenerator(startingRow, startingColumn uint8) (*DynamicColorGenerator, error)

NewDynamicColorGenerator creates a new DynamicColorGenerator

func (*DynamicColorGenerator) GetColorForElement

func (g *DynamicColorGenerator) GetColorForElement(key string) uint8

Jump to

Keyboard shortcuts

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