Versions in this module Expand all Collapse all v0 v0.1.0 Jun 28, 2026 Changes in this version + func Decode[T any](in Configuration) (*T, error) + func Must[T any](t *T) *T + func NewWithDefault[T any](def T, opts ...Option[T]) T + func New[T any](opts ...Option[T]) T + type Configuration Map[string, any] + func NewConfiguration(opts ...Option[Configuration]) Configuration + type ConfigurationKey string + func (o ConfigurationKey[T]) Opt(v T) Opt[T] + type Error string + const ErrDecode + func (e Error) Error() string + type Map map[K]V + type Opt Pair[string, T] + func Enabled(o ConfigurationKey[bool]) Opt[bool] + func KV[T any](k string, v T) Opt[T] + func (c Opt[T]) Apply(t *Configuration) + type Option interface + Apply func(*T) + type Pair struct + Key K + Value V + func (c Pair[K, V]) Apply(t *Map[K, V])