Documentation ¶
Index ¶
- type ColorPrinter
- func (cp *ColorPrinter) Blue(in string) (out string)
- func (cp *ColorPrinter) Cyan(in string) (out string)
- func (cp *ColorPrinter) Gray(in string) (out string)
- func (cp *ColorPrinter) Green(in string) (out string)
- func (cp *ColorPrinter) Magenta(in string) (out string)
- func (cp *ColorPrinter) Red(in string) (out string)
- func (cp *ColorPrinter) White(in string) (out string)
- func (cp *ColorPrinter) Yellow(in string) (out string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorPrinter ¶
type ColorPrinter struct {
// contains filtered or unexported fields
}
func NewColorPrinter ¶
func NewColorPrinter(au aurora.Aurora) *ColorPrinter
func (*ColorPrinter) Blue ¶
func (cp *ColorPrinter) Blue(in string) (out string)
func (*ColorPrinter) Cyan ¶
func (cp *ColorPrinter) Cyan(in string) (out string)
func (*ColorPrinter) Gray ¶
func (cp *ColorPrinter) Gray(in string) (out string)
func (*ColorPrinter) Green ¶
func (cp *ColorPrinter) Green(in string) (out string)
func (*ColorPrinter) Magenta ¶
func (cp *ColorPrinter) Magenta(in string) (out string)
func (*ColorPrinter) Red ¶
func (cp *ColorPrinter) Red(in string) (out string)
func (*ColorPrinter) White ¶
func (cp *ColorPrinter) White(in string) (out string)
func (*ColorPrinter) Yellow ¶
func (cp *ColorPrinter) Yellow(in string) (out string)
Click to show internal directories.
Click to hide internal directories.