pretty

package
v0.0.0-...-c2df288 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Escape = 0x1b
)

Variables

View Source
var (
	Colorless   bool
	Iconic      bool
	Disabled    bool
	Interactive bool
	White       string
	Grey        string
	Black       string
	Red         string
	Green       string
	Blue        string
	Yellow      string
	Magenta     string
	Cyan        string
	Reset       string
	Sparkles    string
	Rocket      string
	Home        string
	Clear       string
	Bold        string
	Faint       string
	Italic      string
	Underline   string
)
View Source
var (
	ProgressMark time.Time
)

Functions

func DebugNote

func DebugNote(format string, rest ...interface{})

func Exit

func Exit(code int, format string, rest ...interface{})

func Guard

func Guard(truth bool, code int, format string, rest ...interface{})

Guard watches, that only truthful shall pass. Otherwise exits with code and details.

func Highlight

func Highlight(format string, rest ...interface{})

func JustOnce

func JustOnce(format string, rest ...interface{})

func Lowlight

func Lowlight(format string, rest ...interface{})

func Note

func Note(format string, rest ...interface{})

func Ok

func Ok() error

func Page

func Page(content []byte)

func Progress

func Progress(step int, form string, details ...interface{})

func RccPointOfView

func RccPointOfView(context string, err error)

func Regression

func Regression(step int, form string, details ...interface{})

func Setup

func Setup()

func Warning

func Warning(format string, rest ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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