Versions in this module Expand all Collapse all v0 v0.1.0 Jul 26, 2021 Changes in this version + func ApplyTemplate(d *Decoder, input string) (string, error) + func FuncMap(d *Decoder) template.FuncMap + type ConfigError string + const ErrUnexpectedKey + const ErrUnexpectedType + func (e ConfigError) Error() string + type Decoder struct + func New(filename string) *Decoder + func (d *Decoder) DecodeYaml(content []byte, target interface{}, lookup map[string]Decoding) + func (d *Decoder) Error(err error) + func (d *Decoder) Errors() []error + func (d *Decoder) Run(name string, decode Decoding, value interface{}) + type Decoding func(*Decoder, interface{}) + func Bool(target interface{}) Decoding + func Int(target interface{}) Decoding + func Keys(lookup map[string]Decoding) Decoding + func Kinds(lookup map[reflect.Kind]Decoding) Decoding + func Map(produce Producer, target interface{}) Decoding + func Singleton(produce Producer, target interface{}) Decoding + func Slice(produce Producer, target interface{}) Decoding + func String(target interface{}) Decoding + type Producer func() (interface{}, Decoding) + func NewBool() Producer + func NewInt() Producer + func NewString() Producer