Fix an error in example "itemsToPrune"
itemsToPrune -> ItemsToPrune
This commit is contained in:
parent
a2d6215577
commit
77679ba342
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue