vendor/gopkg.in/yaml.v2/yaml.go
changeset 251 1c52a0eeb952
parent 242 2a9ec03fe5a1
child 256 6d9efbef00a9
equal deleted inserted replaced
250:c040f992052f 251:1c52a0eeb952
    87 // an error.
    87 // an error.
    88 func UnmarshalStrict(in []byte, out interface{}) (err error) {
    88 func UnmarshalStrict(in []byte, out interface{}) (err error) {
    89 	return unmarshal(in, out, true)
    89 	return unmarshal(in, out, true)
    90 }
    90 }
    91 
    91 
    92 // A Decorder reads and decodes YAML values from an input stream.
    92 // A Decoder reads and decodes YAML values from an input stream.
    93 type Decoder struct {
    93 type Decoder struct {
    94 	strict bool
    94 	strict bool
    95 	parser *parser
    95 	parser *parser
    96 }
    96 }
    97 
    97