Versions in this module Expand all Collapse all v0 v0.2.0 Apr 17, 2026 Changes in this version + type LRU struct + func NewLRU[K comparable, V any](capacity int) *LRU[K, V] + func (c *LRU[K, V]) Clear() + func (c *LRU[K, V]) Delete(key K) + func (c *LRU[K, V]) Get(key K) (V, bool) + func (c *LRU[K, V]) Len() int + func (c *LRU[K, V]) Put(key K, val V)