From 9a420915305aa26fe3111ba97639b0931c4976ea Mon Sep 17 00:00:00 2001 From: Achim Rohn Date: Sat, 21 Mar 2026 19:05:32 +0000 Subject: [PATCH] WIP example step --- starter/example/workflow.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 starter/example/workflow.go 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 { +// +//}