Update module github.com/patrickmn/go-cache to v2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/patrickmn/go-cache | require | major |
v0.0.0-20180815053127-5633e0862627 -> v2.1.0
|
Release Notes
patrickmn/go-cache
v2.1.0
- 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
v2.0.0
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by renovate