mirror of
https://github.com/mailgun/groupcache.git
synced 2024-09-28 23:00:56 +00:00
lru: fix misspelling (#112)
This commit is contained in:
parent
c65c006176
commit
5b532d6fd5
@ -25,7 +25,7 @@ type Cache struct {
|
|||||||
// an item is evicted. Zero means no limit.
|
// an item is evicted. Zero means no limit.
|
||||||
MaxEntries int
|
MaxEntries int
|
||||||
|
|
||||||
// OnEvicted optionally specificies a callback function to be
|
// OnEvicted optionally specifies a callback function to be
|
||||||
// executed when an entry is purged from the cache.
|
// executed when an entry is purged from the cache.
|
||||||
OnEvicted func(key Key, value interface{})
|
OnEvicted func(key Key, value interface{})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user