adding workspace to catalog

This commit is contained in:
mr
2024-07-26 08:27:09 +02:00
parent 2891dc8a68
commit 1ca983db36
4 changed files with 9 additions and 24 deletions

View File

@@ -6,8 +6,8 @@ type WorkflowSchedule struct {
Id string `json:"id" bson:"id"`
Name string `json:"name" bson:"name"`
Start time.Time `json:"start" bson:"start"`
End time.Time `json:"end" bson:"end"`
Cron string `json:"cron" bson:"cron"`
End time.Time `json:"end,omitempty" bson:"end,omitempty"`
Cron string `json:"cron,omitempty" bson:"cron,omitempty"`
}
func (ws *WorkflowSchedule) GetAllDates() (timetable []time.Time) {