Versions in this module Expand all Collapse all v1 v1.0.2 Jan 27, 2022 v1.0.1 Dec 1, 2021 Changes in this version + type LRUCache struct + func NewLRUCache(capacity int) *LRUCache + func (c *LRUCache) Add(key interface{}, value interface{}) bool + func (c *LRUCache) Del(key interface{}) + func (c *LRUCache) EnlargeCapacity(newCapacity int) error + func (c *LRUCache) Get(key interface{}) (interface{}, bool) + func (c *LRUCache) Keys() []interface{} + func (c *LRUCache) Len() int + type Pair struct