Renames to fix clashes with reserved words.

This commit is contained in:
Martin Smith committed 2025-03-22 18:20:30 +00:00
1 parent 3788605127
commit f238f81ba6
6 files changed
+25 -25

No files matched your search

+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
}