Incr godoc comment
Vladimir Bauer
8 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
bar.go
less
more
134
134
b.Incr(1)
135
135
}
136
136
137
// Incr increments progress bar
137
// Incr increments progress bar by amount of n
138
138
func (b *Bar) Incr(n int) {
139
139
if n < 1 {
140
140
return