pretty

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTerminalLink(name, url string) string

Types

type Printer

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

func NewPrinter

func NewPrinter(opts *PrinterOptions) *Printer

func (*Printer) CheckErr

func (p *Printer) CheckErr(msg interface{})

func (*Printer) Print

func (p *Printer) Print(a ...interface{})

func (*Printer) Write added in v0.12.0

func (p *Printer) Write(b []byte) (n int, err error)

type PrinterOptions

type PrinterOptions struct {
	Color bool
}

Jump to

Keyboard shortcuts

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