You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Println("Note: It may take some time for Google Calendar read API to pick up the recently added events, or Calendar trash https://calendar.google.com/calendar/u/0/r/trash can also cause issues.")
fmt.Printf("\nWaring! Deletion count is %v; you might like to clear your trash manually by visiting https://calendar.google.com/calendar/u/0/r/trash\n", deletionCount)
115
-
}
84
+
fmt.Printf("Listing (%v) and deleting the events registered by the reminder app:\n", len(reminderEvents))
fmt.Printf("\nSyncing %v events (pending ones with due-date) to Google Calendar. Hit Ctrl-c if you don't want to do it at the moment. The process will wait for %v.\n", len(newEvents), waitFor)
96
+
fmt.Printf("\nAdding %v events (pending ones with due-date) to Google Calendar. Hit Ctrl-c if you don't want to do it at the moment. The process will wait for %v.\n", len(newEvents), waitFor)
125
97
fmt.Printf("waiting for %v...\n", waitFor)
126
98
time.Sleep(waitFor)
127
-
fmt.Println("Starting the syncing process.")
99
+
fmt.Println("Starting the event addition process.")
logger.Warn(fmt.Sprintf("\nWaring! Deletion count is %v; you might like to clear your trash manually by visiting https://calendar.google.com/calendar/u/0/r/trash\n", deletionCount))
47
+
}
48
+
}
49
+
returnnil
50
+
}
51
+
25
52
// AddEvents adds passed calendar events to the Cloud
0 commit comments