WithClock sets the clock used by the provider. Defaults to quartz.NewReal() if not provided.
(c quartz.Clock)
| 25 | // WithClock sets the clock used by the provider. Defaults to |
| 26 | // quartz.NewReal() if not provided. |
| 27 | func WithClock(c quartz.Clock) Option { |
| 28 | return func(o *providerOptions) { |
| 29 | o.clock = c |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // PRState is the normalized state of a pull/merge request across |
| 34 | // all providers. |
no outgoing calls