func (lru *lruCache) Get(key string) (Value, bool) {
	lru.Lock()
	defer lru.Unlock()

	entry, ok := lru.cache[key]

	if !ok {
		return nil, false
	}

	ok = lru.evictStale(entry, key)
	if !ok {
		return nil, false
	}

	lru.updateAccessed(key)

	return entry.value, true
}
func (lru *lruCache) Get(key string) (Value, bool) {
	lru.Lock()
	defer lru.Unlock()

	entry, ok := lru.cache[key]

	if !ok {
		return nil, false
	}

	ok = lru.evictStale(entry, key)
	if !ok {
		return nil, false
	}

	lru.updateAccessed(key)

	return entry.value, true
}
func ( lru * lruCache ) Get ( key string ) ( Value , bool ) { lru . Lock ( ) defer lru . Unlock ( ) entry , ok := lru . cache [ key ] if ! ok { return nil , false } ok = lru . evictStale ( entry , key ) if ! ok { return nil , false } lru . updateAccessed ( key ) return entry . value , true }
// Get returns the value associated with the key
Get returns the value associated with the key