WIP example step
This commit is contained in:
@@ -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 {
|
||||
//
|
||||
//}
|
||||
Reference in New Issue
Block a user