func (*CommitteeCache[K, V]).missCache is unused
103}
104
105// missCache increments the cache miss counter.
106func (c *CommitteeCache[K, V]) missCache() { //nolint: unused, -- bug in golangci-lint v1.55.2107 c.promCacheMiss.Inc()
108}
109
func (*CommitteeCache[K, V]).hitCache is unused
98}
99
100// hitCache increments the cache miss counter.
101func (c *CommitteeCache[K, V]) hitCache() { //nolint: unused, -- bug in golangci-lint v1.55.2102 c.promCacheHit.Inc()
103}
104
func (*CommitteeCache[K, V]).get is unused
93}
94
95// get returns the underlying lru cache.
96func (c *CommitteeCache[K, V]) get() *lru.Cache[K, V] { //nolint: unused, -- bug in golangci-lint v1.55.2 97 return c.lru
98}
99
Description
It is recommended to keep the codebase clean by removing unused code.
This part of the code has not been used anywhere in the project and is not exported. Maybe it was mistakenly left behind while refactoring or was intended to be used somewhere but remained unused by mistake.