24 lines
405 B
Go
24 lines
405 B
Go
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 {
|
|
//
|
|
//}
|