diff --git a/cache.go b/cache.go index 4eab3d0..8c440d4 100644 --- a/cache.go +++ b/cache.go @@ -1005,6 +1005,7 @@ func (c *cache) Items() map[string]Item { m := make(map[string]Item, len(c.items)) now := time.Now().UnixNano() for k, v := range c.items { + // "Inlining" of Expired if v.Expiration > 0 { if now > v.Expiration { continue