vikunja-api/vendor/github.com/laurent22/ical-go/README.md

26 lines
616 B
Markdown
Raw Normal View History

2019-05-24 19:45:33 +02:00
# 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:
```go
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 `Node`s 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