mirror of
https://github.com/cubixle/playground.git
synced 2026-04-24 19:54:45 +01:00
update readme
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
This is a simple implementation of a Least Recently Used (LRU) Cache in Go.
|
This is a simple implementation of a Least Recently Used (LRU) Cache in Go.
|
||||||
|
|
||||||
An LRU Cache will evict the oldest used key whenever the cache gets full.
|
An LRU Cache will evict the oldest used key whenever the cache gets full and this one only accepts strings as values. However this could be change to support any type of data.
|
||||||
|
|
||||||
Example usage
|
Example usage
|
||||||
```go
|
```go
|
||||||
|
|||||||
Reference in New Issue
Block a user