diff --git a/workflow/doc.go b/workflow/doc.go index 83212c0ef..0c28c264c 100644 --- a/workflow/doc.go +++ b/workflow/doc.go @@ -60,7 +60,7 @@ the sole parameter it receives as part of its initialization as a parameter to t } ctx = workflow.WithActivityOptions(ctx, ao) - future := [workflow.ExecuteActivity](ctx, SimpleActivity, value) + future := workflow.ExecuteActivity(ctx, SimpleActivity, value) var result string if err := future.Get(ctx, &result); err != nil { return err