shared/api/response.go
func (r *Response) MetadataAsStringSlice() ([]string, error) {
	sl := []string{}
	err := r.MetadataAsStruct(&sl)
	if err != nil {
		return nil, err
	}

	return sl, nil
}
func (r *Response) MetadataAsStringSlice() ([]string, error) {
	sl := []string{}
	err := r.MetadataAsStruct(&sl)
	if err != nil {
		return nil, err
	}

	return sl, nil
}
func ( r * Response ) MetadataAsStringSlice ( ) ( [ ] string , error ) { sl := [ ] string { } err := r . MetadataAsStruct ( & sl ) if err != nil { return nil , err } return sl , nil }
// MetadataAsStringSlice parses the Response metadata into a slice of string
MetadataAsStringSlice parses the Response metadata into a slice of string