func NewTimeSchedule(hour, minutes, seconds int) ScheduleTime {
	return &timeSchedule{
		hour, minutes, seconds,
	}
}
NewTimeSchedule creates a ScheduleTime that runs once a day at a given
hour, minutes and seconds.
package flamingo
import "time"
type ScheduleTime interface {
	Next(time.Time) time.Time
}
type intervalSchedule struct {
	every time.Duration
}
func NewIntervalSchedule(every time.Duration) ScheduleTime {
	return &intervalSchedule{
		every,
	}
}
func (s *intervalSchedule) Next(now time.Time) time.Time {
	return now.Add(s.every)
}
type timeSchedule struct {
	hour, minutes, seconds int
}