code: func NewLRUCache(size int, ttl time.Duration) Cache {
  	lru := &lruCache{size: size,
  		ttl:       ttl,
  		cache:     make(map[string]*entry),
  		evictList: list.New(),
  	}
  	return lru
  }
docs: // Creates an LRUCache with maximum size, ttl for items.