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) AddRaw(key interface{}, value string) 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 YamlArray ¶
type YamlArray struct {
Node yaml.Node
}
func (*YamlArray) AddWithComment ¶ added in v2.1.850
func (*YamlArray) MarshalYAML ¶
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.