Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluckKeysStr ¶
Types ¶
type Mapping ¶
type Mapping map[interface{}]interface{}
func NewFromYamlBytes ¶
func NewFromYamlString ¶
func (Mapping) GetChildMap ¶
Attempts the get the Mapping under key. If it is not a mapping, an error is returned. If it does not exist, it is created and returned.
func (Mapping) PruneEmpty ¶
func (m Mapping) PruneEmpty()
Removes all the empty values in the mapping, going in depth.
func (Mapping) ToYamlBytes ¶
Marshals the mapping using yaml if mapping is nil, an empty byte array is returned.
Click to show internal directories.
Click to hide internal directories.