progress

package
v0.0.0-...-e9343d5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package progress prints the program progress on screen. It's similar to a logger, but with better formatting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cursor

func Cursor(show bool)

func Debug

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

func Download

func Download(a string)

func Error

func Error(err error)

func ErrorMsg

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

func ErrorStack

func ErrorStack(err error)

func Fatal

func Fatal(err error)

func FatalMsg

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

func RunFail

func RunFail()

func RunFailMsg

func RunFailMsg(msg string)

func RunOK

func RunOK()

func RunWarningMsg

func RunWarningMsg(msg string)

func Running

func Running(msg string)

func SetDebug

func SetDebug(on bool)

func SetOutput

func SetOutput(w io.Writer)

func SetTrace

func SetTrace(on bool)

func Spinner

func Spinner()

func Status

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

func Trace

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

func Warning

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

Types

type Progress

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

Jump to

Keyboard shortcuts

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