comparison calsync/gcalclient/event_requests.go @ 70:06f3aa9d461c

page size
author drewp@bigasterisk.com
date Fri, 06 Sep 2024 17:30:27 -0700
parents 8aee4f5c4bdd
children
comparison
equal deleted inserted replaced
69:72021e6e5c54 70:06f3aa9d461c
4 "time" 4 "time"
5 5
6 "google.golang.org/api/calendar/v3" 6 "google.golang.org/api/calendar/v3"
7 ) 7 )
8 8
9 const pageSize = 20 9 const pageSize = 200
10 const notificationsUrl1 = "https://bigasterisk.com" 10 const notificationsUrl1 = "https://bigasterisk.com"
11 const notificationsUrl2 = "/gcalendarwatch/notifications" 11 const notificationsUrl2 = "/gcalendarwatch/notifications"
12 12
13 func rangedEventsCall(srv *calendar.Service, calGoogleId string, initialFillStart, initialFillEnd time.Time, pageToken string) *calendar.EventsListCall { 13 func rangedEventsCall(srv *calendar.Service, calGoogleId string, initialFillStart, initialFillEnd time.Time, pageToken string) *calendar.EventsListCall {
14 return srv.Events.List(calGoogleId). 14 return srv.Events.List(calGoogleId).