Documentation ¶
Index ¶
- func String(value string) yaml.Node
- func ToYamlString(data interface{}) (string, error)
- type Pair
- type YamlArray
- type YamlMap
- func (yamlMap *YamlMap) Add(key interface{}, value interface{}) error
- func (yamlMap *YamlMap) AddAll(pairs ...Pair) error
- func (yamlMap *YamlMap) AddOmitNil(key interface{}, value interface{}) error
- func (yamlMap *YamlMap) AddWithComment(key interface{}, value interface{}, comment *string) error
- func (self *YamlMap) MarshalYAML() (interface{}, error)
- func (yamlMap *YamlMap) Merge(value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToYamlString ¶
Types ¶
type YamlMap ¶
type YamlMap struct {
Node yaml.Node
}
func (*YamlMap) AddOmitNil ¶
func (*YamlMap) AddWithComment ¶
func (*YamlMap) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.