color

package
v0.0.0-...-6e81337 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FgBlack int = iota + 30
	FgRed
	FgGreen
	FgYellow
	FgBlue
	FgMagenta
	FgCyan
	FgWhite
)

Foreground text colors

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color struct {
	Colors
}

func (Color) Blue

func (f Color) Blue(format string, a ...interface{}) string

func (Color) Cyan

func (f Color) Cyan(format string, a ...interface{}) string

func (Color) Green

func (f Color) Green(format string, a ...interface{}) string

func (Color) Red

func (f Color) Red(format string, a ...interface{}) string

func (Color) Yellow

func (f Color) Yellow(format string, a ...interface{}) string

type Colors

type Colors interface {
	// contains filtered or unexported methods
}

type DefaultColoredOutput

type DefaultColoredOutput struct{}

/ Formatter ...

type ZshColoredOutput

type ZshColoredOutput struct{}

/ Formatter ...

Jump to

Keyboard shortcuts

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