go-cache icon indicating copy to clipboard operation
go-cache copied to clipboard

add GetWithExpirationUpdate

Open sbabiv opened this issue 6 years ago • 1 comments

In many cases, it is convenient to get items with an updated cache lifetime.

  • GetWithExpirationUpdate - returns item and updates its cache expiration time

sbabiv avatar Feb 18 '19 13:02 sbabiv

Hi @sbabiv,

This repository seems to have gone stale and I am going to keep the go-cache running, I have added your PR if you are interested.

https://github.com/mrbenosborne/go-cache/pull/1

OfficialOzzy avatar Sep 07 '19 09:09 OfficialOzzy