Documentation ¶
Overview ¶
Package yaml converts YAML encodings to and from CUE. When converting to CUE, comments and position information are retained.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode converts a YAML file to a CUE value. Streams are returned as a list of the streamed values.
func EncodeStream ¶
EncodeStream returns the YAML encoding of iter, where consecutive values of iter are separated with a `---`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.