Renames to fix clashes with reserved words.

This commit is contained in:
Martin Smith
2025-03-22 18:20:30 +00:00
parent 3788605127
commit f238f81ba6
6 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ func NewCounter(interval time.Duration, total uint64, report Func) *Counter {
max: total,
}
c.Updater = *NewUpdater(interval, func(runtime time.Duration, final bool) {
v, max := c.Get()
report(v, max, runtime, final)
v, maxV := c.Get()
report(v, maxV, runtime, final)
})
return c
}