output

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer struct {
	// contains filtered or unexported fields
}

func NewPrinter

func NewPrinter(w io.Writer) *Printer

func Stderr

func Stderr() *Printer

func Stdout

func Stdout() *Printer

func (*Printer) Bold

func (p *Printer) Bold(format string, args ...interface{})

func (*Printer) Debug

func (p *Printer) Debug(verbose bool, format string, args ...interface{})

Debug prints only when verbose is true. Caller passes the flag.

func (*Printer) Dim

func (p *Printer) Dim(format string, args ...interface{})

func (*Printer) Error

func (p *Printer) Error(what, reason, fix string)

func (*Printer) Info

func (p *Printer) Info(format string, args ...interface{})

func (*Printer) Magenta

func (p *Printer) Magenta(format string, args ...interface{})

func (*Printer) Success

func (p *Printer) Success(format string, args ...interface{})

func (*Printer) Warn

func (p *Printer) Warn(format string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL