MCPcopy
hub / github.com/go-yaml/yaml / Unmarshaler

Interface Unmarshaler

yaml.go:36–38  ·  yaml.go::Unmarshaler

The Unmarshaler interface may be implemented by types to customize their behavior when being unmarshaled from a YAML document.

Source from the content-addressed store, hash-verified

34// The Unmarshaler interface may be implemented by types to customize their
35// behavior when being unmarshaled from a YAML document.
36type Unmarshaler interface {
37 UnmarshalYAML(value *Node) error
38}
39
40type obsoleteUnmarshaler interface {
41 UnmarshalYAML(unmarshal func(interface{}) error) error

Callers 2

callUnmarshalerMethod · 0.65

Implementers 6

unmarshalerTypedecode_test.go
proxyTypeErrordecode_test.go
failingUnmarshalerdecode_test.go

Calls

no outgoing calls

Tested by

no test coverage detected