output

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose bool

	ErrProcessStopped = errors.New("process stopped")
)

Functions

func NewGlobalStep

func NewGlobalStep(name string, totalPartialSteps uint64)

Sets a new global step. It resets all partial steps.

func NewPartialStep

func NewPartialStep(details string)

Sets a new partial step.

func Print

func Print()

Print prints the current status

func PrintError

func PrintError(err interface{})

PrintError prints an error line

func PrintErrorf

func PrintErrorf(format string, a ...interface{})

PrintErrorf prints an error formating it like fmt.Printf

func Setup

func Setup(totalGlobalSteps uint64)

Setup sets the global number of steps

Types

This section is empty.

Jump to

Keyboard shortcuts

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