progress

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

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

func New

func New() Progress

func (*Progress) Draw

func (p *Progress) Draw()

func (*Progress) Error

func (p *Progress) Error(name string)

func (*Progress) Init

func (p *Progress) Init(name string)

func (*Progress) Success

func (p *Progress) Success(name string)

type State

type State int
const (
	InitState State = iota
	ErrorState
	SuccessState
)

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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