progress

package
v0.0.0-...-252422c Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 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 Bar

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

func New

func New(start, max int64, opts ...Options) *Bar

func (*Bar) Advance

func (bar *Bar) Advance(inc int64) (n int, err error)

func (*Bar) Start

func (bar *Bar) Start() (n int, err error)

func (*Bar) Stop

func (bar *Bar) Stop() (n int, err error)

type Options

type Options struct {
	Output  io.Writer
	Graph   string
	Verbose bool
}

Jump to

Keyboard shortcuts

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