x/cache/interface.go
2022-12-15 22:00:51 -08:00

7 lines
100 B
Go

package cache
type Interface[K comparable, V any] interface {
Get(key K) V
Put(key K, value V)
}