Ignore golangci-lint false positive

This commit is contained in:
Tak Wai Wong 2022-08-11 10:58:41 -07:00
parent 0ffdbaf87a
commit d574e822a0

View file

@ -146,7 +146,7 @@ func (c *RistrettoCostedCachePartition[K, V]) Set(key K, value V) {
}
type RistrettoCachePartition[K keyable, V any] struct {
cache *ristretto.Cache
cache *ristretto.Cache //nolint:all,unused
Prefix byte
Mutable bool
MaxAge time.Duration