code: func YAMLData(path string) (interface{}, error) {
  	data, err := LoadFromFileOrHTTP(path)
  	if err != nil {
  		return nil, err
  	}
  
  	return BytesToYAMLDoc(data)
  }
docs: // YAMLData loads a yaml document from either http or a file