actually marshal XML data
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
type MultiStatus struct {
|
||||
Responses []Response `xml:"response"`
|
||||
}
|
||||
|
||||
type Response struct {
|
||||
Href string `xml:"href"`
|
||||
PropStat []PropStat `xml:"propstat"`
|
||||
}
|
||||
|
||||
type PropStat struct {
|
||||
Prop Prop `xml:"prop"`
|
||||
Status string `xml:"status"`
|
||||
}
|
||||
|
||||
type Prop struct {
|
||||
DisplayName string `xml:"displayname"`
|
||||
}
|
||||
Reference in New Issue
Block a user