muesli / cache2go

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

Feature: get the value but not update the expiration time (#57) #61

Open sirodeneko opened 2 years ago

sirodeneko commented 2 years ago

Hi @muesli , As suggested in the Issue https://github.com/muesli/cache2go/issues/57 by you, here is my PR incl. test cases for review.I'm so sorry I only recently noticed your reply on #57 .