diff options
| author | 2026-06-24 05:36:27 +0000 | |
|---|---|---|
| committer | 2026-06-24 05:36:27 +0000 | |
| commit | f5beabb5b59ff8b7578efe57f006f9c4a6870dc6 (patch) | |
| tree | a63af3fa015e8ddc23ad3312e47c3053a16c316d /internal/cache/clock/clock_ops.go | |
| parent | internal/adler32: Nolint unused (diff) | |
Disable ireturn
Diffstat (limited to 'internal/cache/clock/clock_ops.go')
| -rw-r--r-- | internal/cache/clock/clock_ops.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/cache/clock/clock_ops.go b/internal/cache/clock/clock_ops.go index a21f44c3..6d4785f4 100644 --- a/internal/cache/clock/clock_ops.go +++ b/internal/cache/clock/clock_ops.go @@ -10,15 +10,11 @@ func (clock *Clock[K, V]) Add(key K, value V) bool { } // Get returns the value for key and marks it recently used. -// -//nolint:ireturn func (clock *Clock[K, V]) Get(key K) (V, bool) { return clock.shardFor(key).get(key) } // Peek returns the value for key without changing its recency. -// -//nolint:ireturn func (clock *Clock[K, V]) Peek(key K) (V, bool) { return clock.shardFor(key).peek(key) } |
