Versions in this module Expand all Collapse all v0 v0.0.11 Mar 7, 2024 Changes in this version + type LoadFunc func(context.Context, *LoadOpts) error + type LoadOpts struct + func (o *LoadOpts) CacheFor(d time.Duration) + func (o *LoadOpts) CacheForever() + type Map struct + func (m *Map) DeleteAll() + func (m *Map) GetOrCreate(key interface{}) *Value + type Value struct + func (v *Value) GetOrLoad(ctx context.Context, dataPtr interface{}, load LoadFunc) error