We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbc483 commit 1ccfd61Copy full SHA for 1ccfd61
cache.go
@@ -4,6 +4,7 @@ import (
4
"sync"
5
)
6
7
+// Cache is a common-cache interface.
8
type Cache[K comparable, V any] interface {
9
Get(key K) (value V, ok bool)
10
Set(key K, val V)
0 commit comments