| 9 | type CallBack func(key interface{}, value interface{}) |
| 10 | |
| 11 | type Lru struct { |
| 12 | max int |
| 13 | l *list.List |
| 14 | Call CallBack |
| 15 | cache map[interface{}]*list.Element |
| 16 | mu *sync.Mutex |
| 17 | } |
| 18 | |
| 19 | type Node struct { |
| 20 | Key interface{} |
nothing calls this directly
no outgoing calls
no test coverage detected