This library provides a way of parsing ics calendar files. Supports repetition patterns, organizer and attendees. It also supports both local and remote files to be parsed.
This is a work in progress. It needs a lot more tests and a small refactor on some parts as well as CI and gopkg.in versions.
go get https://github.com/erizocosmico/go-ics
import "github.com/erizocosmico/go-ics"
// ...
calendar, err := ics.ParseCalendar("local file URL or remote URL", 0, nil)
- Urgently rewrite the whole parser
- Explicitly handle all errors.
- trimField should NOT be a regex compiled on runtime.
- func names improvement
- divide parseEvents in smaller, testable functions
- test individual functions
MIT License, see LICENSE
Based on the work of PuloV.