From ffae51549bbf51abc32e1913a49b040b817e618c Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 22:00:59 -0500 Subject: [PATCH] Unexport lru.Cache.Remove --- lru/lru.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lru/lru.go b/lru/lru.go index 31bcd1375..bd70df780 100644 --- a/lru/lru.go +++ b/lru/lru.go @@ -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 }