vbauerster / mpb

multi progress bar for Go cli applications
The Unlicense
2.29k stars 123 forks source link

GoDoc comment for func EwmaSpeed is incorrect #43

Closed sethkor closed 5 years ago

sethkor commented 5 years ago

The method signature has age but the comment has average function

func EwmaSpeed func EwmaSpeed(unit int, unitFormat string, age float64, wcc ...WC) Decorator

`unit` one of [0|UnitKiB|UnitKB] zero for no unit

`unitFormat` printf compatible verb for value, like "%f" or "%d"

`average` MovingAverage implementation

`wcc` optional WC config
vbauerster commented 5 years ago

Thank you for report, fixed in commit e806cc4.