Dmitriy Gnatenko 1b9d3a6ed8 Add LRU memory cache 6 months ago
..
cache.go 1b9d3a6ed8 Add LRU memory cache 6 months ago
readme.md 1b9d3a6ed8 Add LRU memory cache 6 months ago

readme.md

Usage example

cache := NewCache()

cache.Set("1", "value 1")

val1, found1 := cache.Get("1") // "value 1", true
val2, found2 := cache.Get("2") // nil, false