move formatLen close to usage
Vladimir Bauer
7 years ago
1 changed file(s) with
2 addition(s)
and
4 deletion(s)
.
Raw diff
Collapse all
Expand all
+2
-4
bar.go
less
more
21
21
)
22
22
23
23
const (
24
formatLen = 5
25
)
26
27
const (
28
24
cmdId = 1 << iota
29
25
cmdTotal
30
26
cmdCurrent
32
28
cmdPLen
33
29
cmdCompleted
34
30
)
31
32
const formatLen = 5
35
33
36
34
type barRunes [formatLen]rune
37
35