Versions in this module Expand all Collapse all v1 v1.0.5 Sep 20, 2023 Changes in this version + type Cache struct + func NewCache(maxItems int) *Cache + func (c *Cache) Get(key any) (any, error) + func (c *Cache) Set(key, val any) + type ErrKeyNotFound struct + func NewKeyNotFound(error error) *ErrKeyNotFound + func (n *ErrKeyNotFound) Error() string