yaml

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const YAMLTagName = "yaml"

YAMLTagName is the name of the `"yaml"` tag

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
}

Decoder is a decoder that knows how to work with text encoded in YAML.

func (*Decoder) Decode

func (d *Decoder) Decode(r io.Reader, t *dials.Type) (reflect.Value, error)

Decode reads from `r` and decodes what is read as YAML depositing the relevant values into `t`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL