calapi/src/vendor/github.com/jordic/goics
2026-01-02 22:47:28 +01:00
..
.gitignore feat: add hhu calendar 2026-01-02 22:47:28 +01:00
.travis.yml feat: add hhu calendar 2026-01-02 22:47:28 +01:00
decoder.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00
decoder_line.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00
decoder_types.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00
doc.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00
encoder.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00
goics.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00
LICENSE feat: add hhu calendar 2026-01-02 22:47:28 +01:00
README.md feat: add hhu calendar 2026-01-02 22:47:28 +01:00
string.go feat: add hhu calendar 2026-01-02 22:47:28 +01:00

A go toolkit for decoding, encoding icalendar ics ical files

Alpha status

Build Status

After trying to decode some .ics files and review available go packages, I decided to start writing this pacakge.

First attempt was from a fixed structure, similar to that needed. Later, I started to investigate the format and discovered that it is a pain, and has many variants, depending on who implements it. For this reason I evolved it to a tookit for decode and encode the format.

Check examples dir for user cases:

Demo app encoding an ical, using a mysql DB source

Features implemented:

  • Parsing and writing of vevent, not completly..
  • No recursive events,
  • And no alarms inside events

Follows: http://tools.ietf.org/html/rfc5545

TODO

Integrate testing from: https://github.com/libical/libical

CHANGELOG:

  • v00. First api traial
  • v01. Api evolves to a ical toolkit
  • v02. Added example of integration with a mysql db.

Thanks to: Joe Shaw Reviewing first revision.