Versions in this module Expand all Collapse all v0 v0.0.2 Jan 25, 2026 v0.0.1 Jan 24, 2026 Changes in this version + type Cache struct + func NewCache[T any](f func(string) (T, error)) (*Cache[T], error) + func NewExprCache() (*Cache[*vm.Program], error) + func NewLuaCache() (*Cache[*lua.FunctionProto], error) + func NewTextTemplateCache(fm template.FuncMap) (*Cache[*template.Template], error) + func NewTmpFileCache(root string) (*Cache[string], error) + func (c *Cache[T]) Get(key string) (T, error)