Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidListMap = errors.New("ListMap must be a list of strings or a map of lists of strings")
ErrInvalidListMap indicates that the specified YAML is invalid for this type
View Source
var ErrInvalidMap = errors.New("Map must be a single string or an array of key value pairs")
ErrInvalidMap indicates that an Map is either invalid or being filled by invalid YAML
Functions ¶
This section is empty.
Types ¶
type ListMap ¶
type ListMap map[string][]*yaml.Node
ListMap is a YAML list which gets read into a map
Example:
- one - two - red:
- three
- four
func (ListMap) MarshalYAML ¶
MarshalYAML is a custom marshaler to handle this type
Click to show internal directories.
Click to hide internal directories.