Documentation ¶
Index ¶
- func Black() support.Printer
- func Blue() support.Printer
- func CaptureOutput(f func(w io.Writer)) string
- func Cyan() support.Printer
- func Debugf(format string, a ...any)
- func Debugln(a ...any)
- func Default() support.Printer
- func Errorf(format string, a ...any)
- func Errorln(a ...any)
- func Gray() support.Printer
- func Green() support.Printer
- func Infof(format string, a ...any)
- func Infoln(a ...any)
- func Magenta() support.Printer
- func New(color Color) support.Printer
- func Red() support.Printer
- func Successf(format string, a ...any)
- func Successln(a ...any)
- func Warnf(format string, a ...any)
- func Warnln(a ...any)
- func White() support.Printer
- func Yellow() support.Printer
- type Color
- func (c Color) Print(a ...any) *support.Printer
- func (c Color) Printf(format string, a ...any) *support.Printer
- func (c Color) Printfln(format string, a ...any) *support.Printer
- func (c Color) Println(a ...any) *support.Printer
- func (c Color) Sprint(a ...interface{}) string
- func (c Color) Sprintf(format string, a ...interface{}) string
- func (c Color) Sprintfln(format string, a ...interface{}) string
- func (c Color) Sprintln(a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureOutput ¶
CaptureOutput simulates capturing of os.stdout with a buffer and returns what was written to the screen
Types ¶
Click to show internal directories.
Click to hide internal directories.