Adding xmlns

This commit is contained in:
Frederick F. Kautz IV 2015-05-05 12:54:34 -07:00
parent 9d484719ae
commit 24af2222c9

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