Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ReadAhead defines the cache for reading YAML from source. // By default read 5 YAML documents ahead of decoding. // Change it before NewYamlEater. ReadAhead uint = 5 )
Functions ¶
func NewYamlEater ¶
func NewYamlEater(read interface{}) (*yamlEater, error)
NewYamlEater returns a YamlEater obj with given data source. The read source should be one of: []byte content, io.Reader, io.ReadCloser or a string representing a file path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.