Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@patrickmn patrickmn released this 24 Oct 15:17
· 4 commits to master since this release
  • 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)