15 lines
267 B
Go
15 lines
267 B
Go
|
package oclib
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type WorkflowSchedule struct {
|
||
|
Id string `json:"id"`
|
||
|
Start time.Time
|
||
|
End time.Time
|
||
|
Cron string
|
||
|
}
|
||
|
|
||
|
func (ws *WorkflowSchedule) GetAllDates() (timetable []time.Time){
|
||
|
// Return all the execution time generated by the Cron
|
||
|
return
|
||
|
}
|