func ReadMeta(r io.Reader) (*Meta, error) {
	data, err := ioutil.ReadAll(r)
	if err != nil {
		return nil, err
	}
	var meta Meta
	err = yaml.Unmarshal(data, &meta)
	if err != nil {
		return nil, err
	}
	return &meta, nil
}
// ReadMeta reads the content of a metadata.yaml file and returns
// its representation.
// The data has verified as unambiguous, but not validated.
ReadMeta reads the content of a metadata.yaml file and returns
its representation.
The data has verified as unambiguous, but not validated.
// ReadMeta reads the content of a metadata . yaml file and returns // its representation . // The data has verified as unambiguous but not validated .
func ReadMeta(r io.Reader) (*Meta, error) {
	data, err := ioutil.ReadAll(r)
	if err != nil {
		return nil, err
	}
	var meta Meta
	err = yaml.Unmarshal(data, &meta)
	if err != nil {
		return nil, err
	}
	return &meta, nil
}
func ReadMeta ( r io . Reader ) ( * Meta , error ) { data , err := ioutil . ReadAll ( r ) if err != nil { return nil , err } var meta Meta err = yaml . Unmarshal ( data , & meta ) if err != nil { return nil , err } return & meta , nil }
ReadMeta reads the content of a metadata.yaml file and returns
its representation.
ReadMeta reads the content of a metadata . yaml file and returns its representation .