no need for counterUnit type
Vladimir Bauer
8 years ago
| 144 | 144 | return counters(pairFormat, unitKB, width, conf) |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | func counters(pairFormat string, unit counterUnit, width, conf int) DecoratorFunc { | |
| 147 | func counters(pairFormat string, unit, width, conf int) DecoratorFunc { | |
| 148 | 148 | format := "%%" |
| 149 | 149 | if (conf & DidentRight) != 0 { |
| 150 | 150 | format += "-" |