fixed documentation
This commit is contained in:
parent
18a4b67748
commit
a7faf644b0
@ -5,12 +5,14 @@ import (
|
||||
)
|
||||
|
||||
/*
|
||||
Use a least recently used caching strategy:
|
||||
LRUMap is a cache map which uses
|
||||
a least recently used caching strategy:
|
||||
Store last access in map, retrieve least recently
|
||||
used key.
|
||||
*/
|
||||
type LRUMap map[string]time.Time
|
||||
|
||||
// LRU retrievs the least recently used key
|
||||
func (lrumap LRUMap) LRU() string {
|
||||
t := time.Now()
|
||||
key := ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user