Fixing xml tags

This commit is contained in:
Frederick F. Kautz IV 2015-03-04 11:01:47 -08:00
parent 4bdfe61701
commit 6f7840677a

View File

@ -34,8 +34,8 @@ type ObjectListResponse struct {
MaxKeys int
Delimiter string
IsTruncated bool
Contents []*Item `xml:,innerxml`
CommonPrefixes []*Prefix `xml:,innerxml`
Contents []*Item `xml:"",innerxml`
CommonPrefixes []*Prefix `xml:"",innerxml`
}
// Bucket list response format
@ -44,7 +44,7 @@ type BucketListResponse struct {
Owner Owner
Buckets struct {
Bucket []*Bucket
} `xml:,innerxml` // Buckets are nested
} `xml:"",innerxml` // Buckets are nested
}
type Prefix struct {