progressbar

package
v0.0.0-...-b6a3ff4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *progressBar

func NewMock

func NewMock() *mockProgressBar

Types

type Bar

type Bar interface {
	Wait()
	TotalInc(delta int)
	TriggerComplete()
	SetSuffix(format string, args ...interface{})
	Incr()
}

type ProgressBar

type ProgressBar interface {
	Wait()
	Bar(string) Bar
	AddBar(string, int) Bar
}

Jump to

Keyboard shortcuts

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