func (c *Cache[Key, Value]) Delete(_ context.Context, key Key) bool {
	if _, found := c.c.Get(string(key)); found {
		c.c.Delete(string(key))
		return true
	}
	return false
}
// Delete deletes and item in the cache
Delete deletes and item in the cache
// Delete deletes and item in the cache
func (c *Cache[Key, Value]) Delete(_ context.Context, key Key) bool {
	if _, found := c.c.Get(string(key)); found {
		c.c.Delete(string(key))
		return true
	}
	return false
}
func ( c * Cache [ Key , Value ] ) Delete ( _ context . Context , key Key ) bool { if _ , found := c . c . Get ( string ( key ) ) ; found { c . c . Delete ( string ( key ) ) return true } return false }
Delete deletes and item in the cache
Delete deletes and item in the cache