diff --git a/decor/decorators.go b/decor/decorators.go index f88c6fb..96a3f00 100644 --- a/decor/decorators.go +++ b/decor/decorators.go @@ -52,7 +52,9 @@ } // Decorator is an interface with one method: -// Decor(st *Statistics, widthAccumulator chan<- int, widthDistributor <-chan int) string +// +// Decor(st *Statistics, widthAccumulator chan<- int, widthDistributor <-chan int) string +// // All decorators in this package implement this interface. type Decorator interface { Decor(*Statistics, chan<- int, <-chan int) string @@ -243,8 +245,9 @@ } // EwmaETA is a struct, which implements ewma based ETA decorator. -// Should not be used directly, use ETA(int, float64, chan time.Time, ...WC) -// func helper instead. +// Normally should not be used directly, use helper func instead: +// +// decor.ETA(int, float64, chan time.Time, ...decor.WC) type EwmaETA struct { ewma.MovingAverage StartBlockCh chan time.Time