From 77679ba3422c266db836e9762c7059118d99e342 Mon Sep 17 00:00:00 2001 From: spicydog Date: Wed, 21 Dec 2016 20:07:16 +1000 Subject: [PATCH] Fix an error in example "itemsToPrune" itemsToPrune -> ItemsToPrune --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 730a31a..8a7efa2 100644 --- a/readme.md +++ b/readme.md @@ -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: