From 1f4b3cc365858dd531953ea3c199f5036e651f21 Mon Sep 17 00:00:00 2001 From: Rahul Raheja Date: Mon, 3 Jul 2017 15:49:40 -0400 Subject: [PATCH] updated readme doc for getting cacheItem --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2438397..fc440bc 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ func main() { // foo can then be passed around freely as a string // Want to get the entry in the cache for an item not just the value? - var cahceItem Item + var cacheItem Item if x, found := c.GetCacheItem("foo"); found { - foo = x.(string) + cacheItem = x.(string) } // ..