gprogress

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 2 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 NewTimeRangeProgress

func NewTimeRangeProgress() *Progress

func (*Progress) Add

func (p *Progress) Add(name string, begin, end time.Time)

func (*Progress) Get

func (p *Progress) Get() float64

0.1: 10%

func (*Progress) Set

func (p *Progress) Set(name string, tm time.Time)

Jump to

Keyboard shortcuts

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