clockwork
clockwork copied to clipboard
fixed some TODO's
the scheduler now returns an error instead of trowing a panic. This makes it the users responsibility to check for scheduling errors.
checking for errors can be done in the following way.
err := sched.Run()
if err != nil {
log.Println(err)
}