reformat some stuff

This commit is contained in:
2026-08-03 21:01:58 -04:00
parent c3bee53ade
commit 1fddaf3f67
8 changed files with 63 additions and 48 deletions
+26
View File
@@ -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"`
}