mirror of https://github.com/go-co-op/gocron.git
docs: restore inline comments for NextRun/NextRuns examples
Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com> Agent-Logs-Url: https://github.com/go-co-op/gocron/sessions/df5afb1e-5c66-4615-9967-a2efc2419d87
This commit is contained in:
parent
a3e29a35f4
commit
413dd911c0
|
|
@ -267,6 +267,7 @@ func ExampleJob_nextRun() {
|
|||
),
|
||||
)
|
||||
|
||||
// NextRun is only available after the scheduler has been started.
|
||||
s.Start()
|
||||
|
||||
nextRun, _ := j.NextRun()
|
||||
|
|
@ -286,6 +287,7 @@ func ExampleJob_nextRuns() {
|
|||
),
|
||||
)
|
||||
|
||||
// NextRuns is only available after the scheduler has been started.
|
||||
s.Start()
|
||||
|
||||
nextRuns, _ := j.NextRuns(5)
|
||||
|
|
|
|||
Loading…
Reference in New Issue