Fix an error in example "itemsToPrune"

itemsToPrune -> ItemsToPrune
This commit is contained in:
spicydog 2016-12-21 20:07:16 +10:00 committed by GitHub
parent a2d6215577
commit 77679ba342

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: