Closed mhubbard closed 5 years ago
https://github.com/patrickmn/go-cache/blob/a3647f8e31d79543b2d0f0ae2fe5c379d72cedc0/cache.go#L131
Looks like you return nil, false when the key was actually found but has expired.
Expired items are treated as if they don't exist, so this is the intended behavior.
https://github.com/patrickmn/go-cache/blob/a3647f8e31d79543b2d0f0ae2fe5c379d72cedc0/cache.go#L131
Looks like you return nil, false when the key was actually found but has expired.