8 lines
113 B
Go
Raw Normal View History

package cache
type Cache[K comparable, V any] interface {
Get(key K) (V, bool)
Set(key K, value V)
2025-03-18 11:35:15 +01:00
Clear()
}