caldav: parse iCal data

This commit is contained in:
Simon Ser
2020-02-05 18:05:48 +01:00
parent 4eb8396edb
commit baf63fb1b7
4 changed files with 23 additions and 3 deletions

View File

@@ -5,6 +5,8 @@ package caldav
import (
"time"
"github.com/luxifer/ical"
)
type Calendar struct {
@@ -39,5 +41,5 @@ type CalendarObject struct {
Path string
ModTime time.Time
ETag string
Data []byte
Data *ical.Calendar
}