diff --git a/starter/example/workflow.go b/starter/example/workflow.go new file mode 100644 index 0000000..55a52f3 --- /dev/null +++ b/starter/example/workflow.go @@ -0,0 +1,23 @@ +package example + +import ( + "git.gorlug.de/code/ersteller/schema/ent" + . "git.gorlug.de/code/ersteller/workflow" +) + +func CreateExampleWorkflow(client *ent.Client) { + step := NewStep(&StepParams{ + Name: "Initial step", + Identifier: "initial_step", + Description: "Initial step", + Client: client, + MaxRetries: 3, + Handler: , + + }) + //w := NewWorkflow("Example", "example") +} + +//type name struct { +// +//}