Unexport lru.Cache.Remove

This commit is contained in:
Cody Soyland 2018-07-05 22:00:59 -05:00
parent a22d83b880
commit ffae51549b

View file

@ -82,8 +82,8 @@ func (c *Cache) Get(key Key) (value interface{}, ok bool) {
return
}
// Remove removes the provided key from the cache.
func (c *Cache) Remove(key Key) {
// remove removes the provided key from the cache.
func (c *Cache) remove(key Key) {
if c.cache == nil {
return
}