diff --git a/get.go b/get.go index ca1d8ef..1b621c6 100644 --- a/get.go +++ b/get.go @@ -9,5 +9,5 @@ func (cache *myCache) Get(key string) (interface{}, error) { return nil, ErrKeyNotFound } - return item, nil + return item.data, nil }