goflow
goflow copied to clipboard
Example program needs to be updated
When I try to run the sample program provided, it gives the following errors ./main.go:17:14: cannot use doSomething (type func([]byte, map[string][]string) ([]byte, error)) as type flow.BranchOption in argument to dag.Node
I tried to execute this on "The Go Playground", but it doesn't execute there.
We would like to explore goflow for one of the requirement. Could you please help here
Any updates on this? I am not able to use your goflow package. Also the redis package expects "context" as the first argument. So getting compilation errors as follows ../github.com/s8sg/goflow/core/redis-datastore/redis.go:88:21: not enough arguments in call to client.Scan have (number, string, number) want (context.Context, uint64, string, int64)
can you tell me about how to solve this problem
When I try to run the sample program provided, it gives the following errors ./main.go:17:14: cannot use doSomething (type func([]byte, map[string][]string) ([]byte, error)) as type flow.BranchOption in argument to dag.Node
I tried to execute this on "The Go Playground", but it doesn't execute there.
We would like to explore goflow for one of the requirement. Could you please help here
can you tell me about how to solve this problem
This can be solved by updating go flow library
go get github.com/s8sg/goflow@master