Skip to content

Commit 1ccfd61

Browse files
committed
added comment for Cache
1 parent 8cbc483 commit 1ccfd61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cache.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"sync"
55
)
66

7+
// Cache is a common-cache interface.
78
type Cache[K comparable, V any] interface {
89
Get(key K) (value V, ok bool)
910
Set(key K, val V)

0 commit comments

Comments
 (0)