go-cache v2.1.0 Release Notes
Release Date: 2017-10-24 // almost 6 years ago-
- ➕ Add
SetDefault(k string, x interface{})
for setting with the default expiration value - ➕ Add
GetWithExpiration(k string) (interface{}, time.Time, bool)
for getting both the value and expiration time (thanks Alex Edwards) - 🛠 Fix janitor data race (thanks Vivian Mathews)
- ➕ Add