Closed jason-riddle closed 4 years ago
The readme mentions that interval, start, and stop are all optional, but the code shows otherwise.
https://github.com/concourse/time-resource/blob/e5a6a93ea3cf550cf09288a250330fc6ceecc597/models/models.go#L50-L52
Either one of interval, start, or stop are required and the readme should reflect this.
Actually from looking at
https://github.com/concourse/time-resource/blob/e5a6a93ea3cf550cf09288a250330fc6ceecc597/models/models.go#L50-L60
It looks like if interval is not set, then both start and stop need to be set.
The readme mentions that interval, start, and stop are all optional, but the code shows otherwise.
https://github.com/concourse/time-resource/blob/e5a6a93ea3cf550cf09288a250330fc6ceecc597/models/models.go#L50-L52
Either one of interval, start, or stop are required and the readme should reflect this.