import "cuelang.org/go/pkg/encoding/yaml"
Marshal returns the YAML encoding of v.
MarshalStream returns the YAML encoding of v.
Unmarshal parses the YAML to a CUE instance.
Validate validates YAML and confirms it is an instance of the schema specified by v. If the YAML source is a stream, every object must match v.
ValidatePartial validates YAML and confirms it matches the constraints specified by v using unification. This means that b must be consistent with, but does not have to be an instance of v. If the YAML source is a stream, every object must match v.
Package yaml imports 9 packages (graph) and is imported by 5 packages. Updated 2021-01-25. Refresh now. Tools for package owners.