Fixed size LRU cache for storing any data type
| 6 | |
| 7 | // Fixed size LRU cache for storing any data type |
| 8 | type LRUFastCache struct { |
| 9 | cache *lru.Cache |
| 10 | } |
| 11 | |
| 12 | func NewDefaultLRUCache() *LRUFastCache { |
| 13 | c, _ := lru.New(1000) |
nothing calls this directly
no outgoing calls
no test coverage detected