Skip to content

Commit cda33d4

Browse files
authored
Merge pull request #231 from hariso/patch-1
2 parents 4b784c4 + 83c631b commit cda33d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The worker is responsible for executing `Workflows` and `Activities`, both need
5959
func runWorker(ctx context.Context, mb backend.Backend) {
6060
w := worker.New(mb, nil)
6161

62-
r.RegisterWorkflow(Workflow1)
62+
w.RegisterWorkflow(Workflow1)
6363

6464
w.RegisterActivity(Activity1)
6565
w.RegisterActivity(Activity2)

0 commit comments

Comments
 (0)