Documentation
¶
Index ¶
- Constants
- func Color256(i uint8) string
- func ColorBg256(i uint8) string
- func NewColor(i uint8) func(string) *Color
- func NewColorBg(i uint8) func(string) *Color
- func NewColorBgDark(i uint8) func(string) *Color
- func WrapBrackets(s string) string
- type Color
- func Beige(s string) *Color
- func BeigeBg(s string) *Color
- func Blue(s string) *Color
- func BlueBg(s string) *Color
- func Gray(s string) *Color
- func GrayBg(s string) *Color
- func Green(s string) *Color
- func GreenBg(s string) *Color
- func LightBlue(s string) *Color
- func LightBlueBg(s string) *Color
- func Magenta(s string) *Color
- func MagentaBg(s string) *Color
- func Red(s string) *Color
- func RedBg(s string) *Color
- func RedBgDark(s string) *Color
- func White(s string) *Color
- func Wrap(code, s string) *Color
- func Wrap2(code, codebg, s string) *Color
- func WrapBg(codebg, s string) *Color
- func WrapBgDark(codebg, s string) *Color
- func Yellow(s string) *Color
- func YellowBg(s string) *Color
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ColorBg256 ¶
func NewColorBg ¶ added in v0.0.2
func NewColorBgDark ¶ added in v0.0.2
func WrapBrackets ¶
Types ¶
type Color ¶
type Color struct {
// contains filtered or unexported fields
}
func LightBlueBg ¶
func WrapBgDark ¶
func (*Color) CurlyUnderline ¶
func (*Color) StrikeThrough ¶
Click to show internal directories.
Click to hide internal directories.