vikunja-api/vendor/github.com/laurent22/ical-go/README.md
2019-05-24 19:45:33 +02:00

616 B

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