Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundColor ¶
type BackgroundColor struct {
NamedColor NamedColor
}
func (*BackgroundColor) String ¶
func (f *BackgroundColor) String() string
type ForegroundColor ¶
type ForegroundColor struct {
NamedColor NamedColor
}
func (*ForegroundColor) String ¶
func (f *ForegroundColor) String() string
type NamedColor ¶
type NamedColor int
const ( Black NamedColor = iota Red Green Yellow Blue Magenta Cyan White NoColor = -1 )
func (NamedColor) BackgroundColor ¶
func (a NamedColor) BackgroundColor() *BackgroundColor
func (NamedColor) ColorName ¶
func (n NamedColor) ColorName() string
func (NamedColor) ForegroundColor ¶
func (a NamedColor) ForegroundColor() *ForegroundColor
Click to show internal directories.
Click to hide internal directories.