diff --git a/decor/counters.go b/decor/counters.go index be62b49..c5b9146 100644 --- a/decor/counters.go +++ b/decor/counters.go @@ -151,7 +151,7 @@ return Counters(UnitKB, pairFormat, wcc...) } -// Counters decorator with dynamic unit measure adjustement +// Counters decorator with dynamic unit measure adjustment. // // `unit` one of [0|UnitKiB|UnitKB] zero for no unit // diff --git a/decor/speed.go b/decor/speed.go index 122c759..4653d37 100644 --- a/decor/speed.go +++ b/decor/speed.go @@ -119,7 +119,7 @@ } // EwmaSpeed exponential-weighted-moving-average based speed decorator, -// with dynamic unit measure adjustement. +// with dynamic unit measure adjustment. // // `unit` one of [0|UnitKiB|UnitKB] zero for no unit // @@ -134,7 +134,7 @@ // // `wcc` optional WC config // -// unitFormat example if UnitKiB choosen: +// unitFormat example if UnitKiB chosen: // // "%.1f" = "1.0MiB/s" or "% .1f" = "1.0 MiB/s" func EwmaSpeed(unit int, unitFormat string, age float64, sb chan time.Time, wcc ...WC) Decorator { @@ -234,7 +234,7 @@ } } -// AverageSpeed decorator with dynamic unit measure adjustement. +// AverageSpeed decorator with dynamic unit measure adjustment. // // `unit` one of [0|UnitKiB|UnitKB] zero for no unit // @@ -242,7 +242,7 @@ // // `wcc` optional WC config // -// unitFormat example if UnitKiB choosen: +// unitFormat example if UnitKiB chosen: // // "%.1f" = "1.0MiB/s" or "% .1f" = "1.0 MiB/s" func AverageSpeed(unit int, unitFormat string, wcc ...WC) Decorator {