ui

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AssertionFailed  = Reason('!')
	InvalidArgs      = Reason('-')
	InvalidInputFile = Reason('>')
	ToDo             = Reason(':')
)

Variables

View Source
var IsVerbose = false

Functions

func Exit

func Exit(reason Reason)

func ExitBug

func ExitBug(issue string)

func ExitNotImplemented

func ExitNotImplemented(feature string)

Types

type Hinter

type Hinter interface {
	Hint(hints ...string) Hinter
}

func Fatal

func Fatal(err error) Hinter

func Fatalf

func Fatalf(format string, args ...interface{}) Hinter

func Verbose

func Verbose(err error) Hinter

func Verbosef

func Verbosef(format string, args ...interface{}) Hinter

func Warn

func Warn(err error) Hinter

func Warnf

func Warnf(format string, args ...interface{}) Hinter

type Reason

type Reason rune

Jump to

Keyboard shortcuts

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