Merge pull request #9 from spicydog/patch-1

Fix an error in example "itemsToPrune"
This commit is contained in:
Karl Seguin 2016-12-22 18:15:50 +07:00 committed by GitHub
commit 12c7ffdc19

View file

@ -28,7 +28,7 @@ var cache = ccache.New(ccache.Configure())
`Configure` exposes a chainable API:
```go
var cache = ccache.New(ccache.Configure().MaxSize(1000).itemsToPrune(100))
var cache = ccache.New(ccache.Configure().MaxSize(1000).ItemsToPrune(100))
```
The most likely configuration options to tweak are: