ttlcache icon indicating copy to clipboard operation
ttlcache copied to clipboard

close funct

Open oxx opened this issue 10 years ago • 0 comments

func (cache *Cache) close() { cache.mutex.Lock() for key, item := range cache.items {
delete(cache.items, key) } } cache.mutex.Unlock() }

oxx avatar Jun 18 '15 13:06 oxx