Merge pull request #570 from fkautz/pr_out_adding_xmlns

This commit is contained in:
Frederick F. Kautz IV 2015-05-05 13:32:31 -07:00
commit 7a87f89604
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ const (
// ListObjectsResponse - format for list objects response
type ListObjectsResponse struct {
XMLName xml.Name `xml:"ListBucketResult" json:"-"`
XMLName xml.Name `xml:"http://doc.s3.amazonaws.com/2006-03-01 ListBucketResult" json:"-"`
Name string
Prefix string
Marker string
@ -40,7 +40,7 @@ type ListObjectsResponse struct {
// ListBucketsResponse - format for list buckets response
type ListBucketsResponse struct {
XMLName xml.Name `xml:"ListAllMyBucketsResult" json:"-"`
XMLName xml.Name `xml:"http://doc.s3.amazonaws.com/2006-03-01 ListAllMyBucketsResult" json:"-"`
Owner Owner
Buckets struct {
Bucket []*Bucket