Versions in this module Expand all Collapse all v0 v0.0.1 May 18, 2026 Changes in this version + type Cache struct + func New[K comparable, V any](capacity int) *Cache[K, V] + func (c *Cache[K, V]) Get(key K) (V, bool) + func (c *Cache[K, V]) Set(key K, value V, size int)