We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1034e commit c0696dfCopy full SHA for c0696df
cache/adapters/patrickmn/go-cache.go
@@ -12,7 +12,10 @@ type GoCacher interface {
12
SetDefault(k string, x any)
13
}
14
15
-// GoCache creates a new cacher from the patrickmn/go-cache
+// GoCache creates a new cacher from the patrickmn/go-cache As go-cache supports
16
+// only string keys unfortunately the returned cacher is limited by string keys
17
+// too.
18
+//
19
// For example:
20
//
21
// c := cache.New(5*time.Minute, 10*time.Minute)
0 commit comments