diff --git a/bar.go b/bar.go index d070a2c..b25e5e4 100644 --- a/bar.go +++ b/bar.go @@ -30,6 +30,8 @@ done chan struct{} } +// Statistics represents statistics of the progress bar +// instance of this, sent to DecoratorFunc, as param type Statistics struct { Total, Current int TimeElapsed, TimePerItemEstimate time.Duration