sm
/
cache
1
0
Fork 0

revised formatting

This commit is contained in:
Giuseppe 2015-12-05 15:00:25 +01:00
parent 05f1124e1e
commit f648931821
1 changed files with 0 additions and 1 deletions

View File

@ -103,7 +103,6 @@ func (c *cache) deleteFromBst (node Node) {
}
}
// Add an item to the cache only if an item doesn't already exist for the given
// key, or if the existing item has expired. Returns an error otherwise.
func (c *cache) Add(k string, x interface{}, d time.Duration) error {