package yaml
import "cuelang.org/go/pkg/encoding/yaml"
Index ¶
- func Marshal(v cue.Value) (string, error)
- func MarshalStream(v cue.Value) (string, error)
- func Unmarshal(data []byte) (ast.Expr, error)
Functions ¶
func Marshal ¶
Marshal returns the YAML encoding of v.
func MarshalStream ¶
MarshalStream returns the YAML encoding of v.
func Unmarshal ¶
Unmarshal parses the YAML to a CUE instance.
Source Files ¶
manual.go
- Version
- v0.0.4-rc1
- Published
- Jul 1, 2019
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 14 minutes ago –
Tools for package owners.