progress

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 0 Imported by: 1

README

progress

simple progress printer for golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger func(layout string, items ...interface{})

type Progress

type Progress interface {
	Set(c int64)
	Add(d int64)
	Incr()
}

func NewProgress

func NewProgress(total int64, label string, logger Logger) Progress

Jump to

Keyboard shortcuts

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