Versions in this module Expand all Collapse all v1 v1.0.3 Feb 6, 2024 v1.0.2 Apr 18, 2023 Changes in this version + type Cache struct + func New(ctx context.Context, group *errgroup.Group, readDir, writeDir string, ...) (*Cache, error) + func (cache *Cache) Load(key []byte, generate func() ([]byte, error)) ([]byte, error)