mirror of https://github.com/go-co-op/gocron.git
docs: remove unhelpful inline comments from NextRun/NextRuns examples
Co-authored-by: JohnRoesler <19351306+JohnRoesler@users.noreply.github.com> Agent-Logs-Url: https://github.com/go-co-op/gocron/sessions/9686e808-ae5e-4bc8-ad00-f78a1a7b079d
This commit is contained in:
parent
69cd6618e0
commit
a3e29a35f4
|
|
@ -267,7 +267,6 @@ func ExampleJob_nextRun() {
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
// NextRun is only available after the scheduler has been started.
|
|
||||||
s.Start()
|
s.Start()
|
||||||
|
|
||||||
nextRun, _ := j.NextRun()
|
nextRun, _ := j.NextRun()
|
||||||
|
|
@ -287,7 +286,6 @@ func ExampleJob_nextRuns() {
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
// NextRuns is only available after the scheduler has been started.
|
|
||||||
s.Start()
|
s.Start()
|
||||||
|
|
||||||
nextRuns, _ := j.NextRuns(5)
|
nextRuns, _ := j.NextRuns(5)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue