muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters
Other
2.11k stars 518 forks source link

Foreach method can support break #26

Closed xyslion closed 3 years ago

xyslion commented 5 years ago

I need lookup the all cache items, but want to find only one

muesli commented 5 years ago

Use the Value() method then? Please try and be a bit more specific what you're trying to do.