progressbar

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPhases = []string{
	" ",
	"▏",
	"▎",
	"▍",
	"▌",
	"▋",
	"▊",
	"▉",
	"█",
}

Functions

This section is empty.

Types

type ProgressBar

type ProgressBar struct {
	Phases []string
}

func New

func New() ProgressBar

func (*ProgressBar) Generate

func (p *ProgressBar) Generate(n, total time.Duration, width int) string

Jump to

Keyboard shortcuts

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