color

package
v0.0.0-...-e1b260e Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2014 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

View Source
const (
	Black     = Code("0;30m")
	Red       = Code("1;31m")
	Green     = Code("1;32m")
	Brown     = Code("0;33m")
	Yellow    = Code("1;33m")
	Blue      = Code("1;34m")
	BlueTest  = Code("0;34m")
	Purple    = Code("0;35m")
	Cyan      = Code("0;36m")
	White     = Code("1;37m")
	WhiteBold = Code("1;37m")
	WhiteThin = Code("0;00m")

	None = Code("None!")
)

Variables

This section is empty.

Functions

func String

func String(c Code, str ...interface{}) string

func Strip

func Strip(str string) string

TODO length check for invalid strings

Types

type Code

type Code string

func (Code) String

func (c Code) String(str ...interface{}) string

func (Code) Stringf

func (c Code) Stringf(format string, str ...interface{}) string

Jump to

Keyboard shortcuts

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