Documentation
¶
Overview ¶
Package color provides minimal ANSI terminal color helpers. It has zero external dependencies and respects the NO_COLOR env var and a runtime disable flag (set by --no-color).
Index ¶
- func Blue(s string) string
- func Bold(s string) string
- func BoldBlue(s string) string
- func BoldCyan(s string) string
- func BoldGreen(s string) string
- func BoldMagenta(s string) string
- func BoldYellow(s string) string
- func Bracket(s string) string
- func Cyan(s string) string
- func Disable()
- func Enable()
- func Gray(s string) string
- func Green(s string) string
- func HiBlue(s string) string
- func HiCyan(s string) string
- func IsDisabled() bool
- func Magenta(s string) string
- func Red(s string) string
- func Section(title string) string
- func Table(rows [][]string, hasHeader bool) string
- func White(s string) string
- func Yellow(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.