Documentation
¶
Index ¶
- func FormatRecurrenceRule(rule eventkit.RecurrenceRule) string
- func LookupRowNumber(n int) string
- func PrintCalendars(calendars []calendar.Calendar, format string)
- func PrintCreatedCalendar(c *calendar.Calendar)
- func PrintCreatedEvent(e *calendar.Event)
- func PrintEventDetail(event *calendar.Event, format string)
- func PrintEvents(events []calendar.Event, format string)
- func PrintUpdatedCalendar(c *calendar.Calendar)
- func PrintUpdatedEvent(e *calendar.Event)
- func SaveLastList(events []calendar.Event)
- func ShortID(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatRecurrenceRule ¶
func FormatRecurrenceRule(rule eventkit.RecurrenceRule) string
FormatRecurrenceRule returns a human-readable recurrence description.
func LookupRowNumber ¶
LookupRowNumber returns the full event ID for a 1-based row number from the last listing cache. Returns "" if not found.
func PrintCalendars ¶
PrintCalendars prints calendars in the specified format.
func PrintCreatedCalendar ¶
PrintCreatedCalendar prints summary info for a newly created calendar.
func PrintCreatedEvent ¶
PrintCreatedEvent prints summary info for a newly created event.
func PrintEventDetail ¶
PrintEventDetail prints a single event with full details.
func PrintEvents ¶
PrintEvents prints events in the specified format and caches event IDs for row-number-based lookup by show/update/delete.
func PrintUpdatedCalendar ¶
PrintUpdatedCalendar prints summary info for an updated calendar.
func PrintUpdatedEvent ¶
PrintUpdatedEvent prints summary info for an updated event.
func SaveLastList ¶
SaveLastList writes event IDs to cache so row numbers can be used later.
Types ¶
This section is empty.