Versions in this module Expand all Collapse all v1 v1.4.6 Oct 16, 2026 Changes in this version + type DecodeError struct + Paths []string + func (e *DecodeError) Error() string + type MissingError struct + Names []string + Paths map[string][]string + func (e *MissingError) Error() string + type Option func(*options) + func WithSource(s Source) Option + type Result struct + Referenced []string + func DecodeYAML(data []byte, out any, opts ...Option) (*Result, error) + func ExpandString(s string, opts ...Option) (string, *Result, error) + func (r *Result) Contains(name string) bool + type Source interface + Lookup func(name string) (string, bool) + func Chain(sources ...Source) Source + func Env() Source + func Map(values map[string]string) Source + type SourceFunc func(name string) (string, bool) + func (f SourceFunc) Lookup(name string) (string, bool) + type SyntaxError struct + Path string + Reason string + func (e *SyntaxError) Error() string