-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
hatchet-go-quickstart/workflows/first_workflow.go
Lines 38 to 43 in e91c768
| func(ctx worker.HatchetContext, input SimpleInput) (any, error) { | |
| fmt.Println("ToLower task called") | |
| return &LowerOutput{ | |
| TransformedMessage: strings.ToLower(input.Message), | |
| }, nil | |
| }, |
- Is it recommended to return
any? - Why is
LowerOutputreturned here instead ofSimpleResult? - Can the return value only be a pointer? Can it be a struct or a list?
- Could you help add more examples to show V1 workflow control?
Thanks
Metadata
Metadata
Assignees
Labels
No labels