Golang iCalendar lexer/parser implementing RFC 5545. This project is heavily inspired of the talk Lexical Scanning in Go by Rob Pike.
Usage
import (
"github.com/luxifer/ical"
)
// filename is an io.Reader
// second parameter is a *time.Location which defaults to system local
calendar, err := ical.Parse(filename, nil)
Parse transforms the raw iCalendar into a Calendar struct
It's up to the caller to close the io.Reader
if the time.Location parameter is not set, it will default to the system location