Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleName = "encoding/yaml.star" DefaultIndent = 2 )
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(_ *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)
Decode reads the YAML-encoded value from its input and returns the result as a starlark.Value.
func Encode ¶
func Encode(_ *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)
Encode returns the YAML encoding of its input.
func LoadModule ¶
func LoadModule() (starlark.StringDict, error)
LoadModule loads the yaml module. It is concurrency-safe and idempotent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.