Documentation ¶
Index ¶
- type Printer
- func (p *Printer) Danger(format string, a ...interface{}) string
- func (p *Printer) DangerLabel(format string, a ...interface{}) string
- func (p *Printer) Faint(format string, a ...interface{}) string
- func (p *Printer) Highlight(format string, a ...interface{}) string
- func (p *Printer) Println(content string, indentLevel int)
- func (p *Printer) SetupColor(color *color.Color)
- func (p *Printer) Success(format string, a ...interface{}) string
- func (p *Printer) SuccessLabel(format string, a ...interface{}) string
- func (p *Printer) Warning(format string, a ...interface{}) string
- func (p *Printer) WarningLabel(format string, a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
Printer simple printing implement
func NewPrinter ¶
NewPrinter create a Printer with Writer to print and colored config
func (*Printer) DangerLabel ¶
func (*Printer) SetupColor ¶
func (*Printer) SuccessLabel ¶
func (*Printer) WarningLabel ¶
Click to show internal directories.
Click to hide internal directories.