Module configy.Attributes

Define UDAs that can be applied to a configuration struct

This module is stand alone (a leaf module) to allow importing the UDAs without importing the whole configuration parsing code.

Functions

NameDescription
converter(func) Provides a means to convert a field from a Node to a complex type

Interfaces

NameDescription
ConfigParser Interface that is passed to fromYAML hook

Structs

NameDescription
Converter Provides a means to convert a field from a Node to a complex type
Key Inform the config filler that this sequence is to be read as a mapping
Name Look up the provided name in the YAML node, instead of the field name.
Optional An optional parameter with an initial value of T.init
SetInfo A field which carries informations about whether it was set or not