func NewYaml(body []byte) (*Yaml, error) {
	y := new(Yaml)
	err := y.Unmarshal(body)
	if err != nil {
		return nil, err
	}
	return y, nil
}
// NewYaml returns a pointer to a new `Yaml` object
// after unmarshaling `body` bytes
NewYaml returns a pointer to a new `Yaml` object
after unmarshaling `body` bytes
// NewYaml returns a pointer to a new ` Yaml ` object // after unmarshaling ` body ` bytes
func NewYaml(body []byte) (*Yaml, error) {
	y := new(Yaml)
	err := y.Unmarshal(body)
	if err != nil {
		return nil, err
	}
	return y, nil
}
func NewYaml ( body [ ] byte ) ( * Yaml , error ) { y := new ( Yaml ) err := y . Unmarshal ( body ) if err != nil { return nil , err } return y , nil }
NewYaml returns a pointer to a new `Yaml` object
after unmarshaling `body` bytes
NewYaml returns a pointer to a new ` Yaml ` object after unmarshaling ` body ` bytes