api/vendor/github.com/laurent22/ical-go
kolaente 24f06b2da5
Fixed ical-go package include
2019-05-24 19:45:33 +02:00
..
LICENSE Fixed ical-go package include 2019-05-24 19:45:33 +02:00
README.md Fixed ical-go package include 2019-05-24 19:45:33 +02:00
calendar.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
calendar_event.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
lib.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
node.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
parsers.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
properties.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
serializers.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00
todo.go Fixed ical-go package include 2019-05-24 19:45:33 +02:00

README.md

ical-go

iCal package for Go (Golang)

Installation

go get github.com/laurent22/ical-go

Status

Currently, the package doesn't support the full iCal specification. It's still a work in progress towards that goal.

The most useful function in the package is:

func ParseCalendar(data string) (*Node, error)

Parses a VCALENDAR string, unwrap and unfold lines, etc. and put all this into a usable structure (a collection of Nodes with name, value, type, etc.).

With the Node in hand, you can use several of its functions to, e.g., find specific parameters, children, etc.

License

MIT