Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gocal
✓ github.com/apognu/gocal
Parses an ICS string and prints the summary of the first event.
package main
import (
"fmt"
"strings"
"github.com/apognu/gocal"
)
func main() {
ics := `BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Test Event
DTSTART:20230101T000000Z
END:VEVENT
END:VCALENDAR`
cal, _ := gocal.Parse(strings.NewReader(ics))
fmt.Println(cal.Events[0].Summary)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.9.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.