README ¶ Steps to run this sample: You need a Temporal service running. See details in README.md Run the following command to start the worker go run branch/worker/main.go Run the following command to start branch workflow go run branch/starter/main.go Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func SampleActivity(input string) (string, error) func SampleBranchWorkflow(ctx workflow.Context, totalBranches int) (result []string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SampleActivity ¶ func SampleActivity(input string) (string, error) func SampleBranchWorkflow ¶ func SampleBranchWorkflow(ctx workflow.Context, totalBranches int) (result []string, err error) SampleBranchWorkflow workflow definition This workflow executes multiple activities in parallel. The number of branches is controlled by a passed in parameter. Types ¶ This section is empty. Source Files ¶ View all Source files branch_workflow.go Directories ¶ Show internal Expand all Path Synopsis starter worker Click to show internal directories. Click to hide internal directories.