Make lint happy

This commit is contained in:
Alvaro Saurin committed 2015-04-28 12:05:24 +02:00
1 parent 42fa953053
commit 3bdfa9b050
2 files changed
+14 -11

No files matched your search

+2 -2
View File
@@ -371,7 +371,7 @@ func (c *Cache) Len() int {
}
// Return the max capacity
func (c Cache) Capacity() int {
func (c *Cache) Capacity() int {
c.lock.RLock()
defer c.lock.RUnlock()
@@ -379,7 +379,7 @@ func (c Cache) Capacity() int {
}
// Return the max capacity
func (c Cache) String() string {
func (c *Cache) String() string {
c.lock.RLock()
defer c.lock.RUnlock()