reformat some stuff
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package caldav
|
||||
|
||||
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"`
|
||||
Type ResourceType `xml:"resourcetype"`
|
||||
CalendarData string `xml:"calendar-data"`
|
||||
}
|
||||
|
||||
type ResourceType struct {
|
||||
Collection *struct{} `xml:"DAV: collection"`
|
||||
Calendar *struct{} `xml:"urn:ietf:params:xml:ns:caldav calendar"`
|
||||
}
|
||||
Reference in New Issue
Block a user