diff --git a/pkg/sources/sources.go b/pkg/sources/sources.go index d6fa86b4..e439286b 100644 --- a/pkg/sources/sources.go +++ b/pkg/sources/sources.go @@ -110,7 +110,7 @@ type Counter struct { mu sync.Mutex } -// Inc increments the counter. +// Inc increments the counter and returns the new value. func (c *Counter) Inc() int { c.mu.Lock() defer c.mu.Unlock()