vikunja-api/vendor/github.com/laurent22/ical-go/ical/calendar.go

18 lines
283 B
Go
Raw Normal View History

2019-05-22 19:48:48 +02:00
package ical
type Calendar struct {
Items []CalendarEvent
}
func (this *Calendar) Serialize() string {
serializer := calSerializer{
calendar: this,
buffer: new(strBuffer),
}
return serializer.serialize()
}
func (this *Calendar) ToICS() string {
return this.Serialize()
}