1golang-lru
2==========
3
4This provides the `lru` package which implements a fixed-size
5thread safe LRU cache. It is based on the cache in Groupcache.
6
7Documentation
8=============
9
10Full docs are available on [Godoc](http://godoc.org/github.com/hashicorp/golang-lru)
11
12Example
13=======
14
15Using the LRU is very simple:
16
17```go
18l, _ := New(128)
19for i := 0; i < 256; i++ {
20    l.Add(i, nil)
21}
22if l.Len() != 128 {
23    panic(fmt.Sprintf("bad len: %v", l.Len()))
24}
25```
26