color

package
Version: v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color int
const (
	NoColor Color = iota
	Red
	Green
	Yellow
	Blue
	Magenta
	Cyan
)

func (Color) Colorize

func (c Color) Colorize(args ...interface{}) string

func (Color) ColorizeDark

func (c Color) ColorizeDark(args ...interface{}) string

func (Color) Dark

func (c Color) Dark() string

func (Color) Format

func (c Color) Format(f string, args ...interface{}) string

func (Color) FormatDark

func (c Color) FormatDark(f string, args ...interface{}) string

func (Color) Light

func (c Color) Light() string

func (Color) String

func (c Color) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL