Documentation
¶
Index ¶
- Variables
- func EnableColor(cache bool) (result bool)
- type ColorFn
- func (c ColorFn) BgBlack() ColorFn
- func (c ColorFn) BgBlue() ColorFn
- func (c ColorFn) BgBlueBright() ColorFn
- func (c ColorFn) BgCyan() ColorFn
- func (c ColorFn) BgCyanBright() ColorFn
- func (c ColorFn) BgGray() ColorFn
- func (c ColorFn) BgGreen() ColorFn
- func (c ColorFn) BgGreenBright() ColorFn
- func (c ColorFn) BgMagenta() ColorFn
- func (c ColorFn) BgMagentaBright() ColorFn
- func (c ColorFn) BgRed() ColorFn
- func (c ColorFn) BgRedBright() ColorFn
- func (c ColorFn) BgWhite() ColorFn
- func (c ColorFn) BgWhiteBright() ColorFn
- func (c ColorFn) BgYellow() ColorFn
- func (c ColorFn) BgYellowBright() ColorFn
- func (c ColorFn) Black() ColorFn
- func (c ColorFn) Blue() ColorFn
- func (c ColorFn) BlueBright() ColorFn
- func (c ColorFn) Bold() ColorFn
- func (c ColorFn) Cyan() ColorFn
- func (c ColorFn) CyanBright() ColorFn
- func (c ColorFn) Dim() ColorFn
- func (c ColorFn) Gray() ColorFn
- func (c ColorFn) Green() ColorFn
- func (c ColorFn) GreenBright() ColorFn
- func (c ColorFn) Invisible() ColorFn
- func (c ColorFn) Italic() ColorFn
- func (c ColorFn) Magenta() ColorFn
- func (c ColorFn) MagentaBright() ColorFn
- func (c ColorFn) Other(start string, end string) ColorFn
- func (c ColorFn) Red() ColorFn
- func (c ColorFn) RedBright() ColorFn
- func (c ColorFn) Reverse() ColorFn
- func (c ColorFn) StrikeThrough() ColorFn
- func (f ColorFn) String(s string) string
- func (c ColorFn) Underline() ColorFn
- func (c ColorFn) White() ColorFn
- func (c ColorFn) WhiteBright() ColorFn
- func (c ColorFn) Yellow() ColorFn
- func (c ColorFn) YellowBright() ColorFn
Constants ¶
This section is empty.
Variables ¶
View Source
var Std = New(EnableColor(false))
Functions ¶
func EnableColor ¶
Types ¶
type ColorFn ¶
func (ColorFn) BgBlueBright ¶
func (ColorFn) BgCyanBright ¶
func (ColorFn) BgGreenBright ¶
func (ColorFn) BgMagentaBright ¶
func (ColorFn) BgRedBright ¶
func (ColorFn) BgWhiteBright ¶
func (ColorFn) BgYellowBright ¶
func (ColorFn) BlueBright ¶
func (ColorFn) CyanBright ¶
func (ColorFn) GreenBright ¶
func (ColorFn) MagentaBright ¶
func (ColorFn) Other ¶
See: https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes
func (ColorFn) StrikeThrough ¶
func (ColorFn) WhiteBright ¶
func (ColorFn) YellowBright ¶
Click to show internal directories.
Click to hide internal directories.
