func (workflowClient) Create( ctx context.Context, name string, options ...workflows.WorkflowOption,) (*workflows.Workflow, error)Create a workflow.
Parameters
Section titled “Parameters”name string required The workflow display name.
options []workflows.WorkflowOption Options for creating the workflow.
Options
Section titled “Options”workflows.WithDescription(description string) Set the workflow description.
Returns
Section titled “Returns”The created workflow object.