godoc for Decorator interface
Vladimir Bauer
8 years ago
| 50 | 50 | TimeElapsed time.Duration |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | // Decorator is an interface with one method: | |
| 54 | // Decor(st *Statistics, widthAccumulator chan<- int, widthDistributor <-chan int) string | |
| 55 | // All decorators in this package implement this interface. | |
| 53 | 56 | type Decorator interface { |
| 54 | 57 | Decor(*Statistics, chan<- int, <-chan int) string |
| 55 | 58 | } |