cache.go
func (c *cache) Delete(k string) {
	c.mu.Lock()
	v, evicted := c.delete(k)
	c.mu.Unlock()
	if evicted {
		c.onEvicted(k, v)
	}
}
func (c *cache) Delete(k string) {
	c.mu.Lock()
	v, evicted := c.delete(k)
	c.mu.Unlock()
	if evicted {
		c.onEvicted(k, v)
	}
}
func ( c * cache ) Delete ( k string ) { c . mu . Lock ( ) v , evicted := c . delete ( k ) c . mu . Unlock ( ) if evicted { c . onEvicted ( k , v ) } }
// Delete an item from the cache. Does nothing if the key is not in the cache.
Delete an item from the cache . Does nothing if the key is not in the cache .