2026-10-07 21:06:29 -04:00
|
|
|
package gcal
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
// SetClock replaces s's clock.
|
|
|
|
|
func SetClock(s *Service, now func() time.Time) { s.now = now }
|
2026-10-07 23:41:50 -04:00
|
|
|
|
|
|
|
|
// SetRetryDelay replaces s's wait before the first retry of a transient
|
|
|
|
|
// Google failure.
|
|
|
|
|
func SetRetryDelay(s *Service, d time.Duration) { s.retryDelay = d }
|