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) } // ..