Documentation
¶
Index ¶
- func Green(text string) string
- func Red(text string) string
- func Yellow(text string) string
- type Printer
- func (p *Printer) Print(msg string, a ...any)
- func (p *Printer) PrintError(msg string, a ...any)
- func (p *Printer) PrintErrorln(msg string, a ...any)
- func (p *Printer) PrintWarning(msg string, a ...any)
- func (p *Printer) PrintWarningln(msg string, a ...any)
- func (p *Printer) Println(msg string, a ...any)
- type Progress
- type Prompter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func (*Printer) PrintError ¶
func (*Printer) PrintErrorln ¶
func (*Printer) PrintWarning ¶
func (*Printer) PrintWarningln ¶
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
func NewDevNullProgress ¶
func NewDevNullProgress() *Progress
func NewProgress ¶
Click to show internal directories.
Click to hide internal directories.