Merge pull request #9 from spicydog/patch-1
Fix an error in example "itemsToPrune"
This commit is contained in:
commit
12c7ffdc19
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…
Add table
Reference in a new issue