Versions in this module Expand all Collapse all v0 v0.3.0 Mar 24, 2026 v0.1.0 Oct 29, 2025 Changes in this version + type Loader func(ctx context.Context, config C) (T, error) + type NamedLoader func() (string, Loader[T, C]) + func Named[T, C any](name string, loader Loader[T, C]) NamedLoader[T, C] + type Registry map[string]Loader[T, C] + func NewRegistry[T, C any](namedLoaders ...NamedLoader[T, C]) Registry[T, C] + func (r Registry[T, C]) Register(namedLoaders ...NamedLoader[T, C])