Skip to main content

Go Workflow SDK

Build stateful, long-running, reliable workflows using the Dapr Workflow Go SDK with Catalyst. The Dapr Workflow Go SDK provides a powerful way to orchestrate complex business processes using Go.

Resources

Prerequisites:

Installation

Install the Dapr Workflow SDK via go get:

go get github.com/dapr/go-sdk/client
go get github.com/dapr/go-sdk/workflow

Core Application

Use the essential components of a Dapr Workflow application (Workflows and Activities) to build and run a workflow application.

Dapr Client

Connect to the Dapr Workflow API and start, get status, and manage workflow executions.

Failure Detection

Explore how your application can detect failures using timeouts.

External Events

Wait for external input and send events to running workflows.

Control Workflow Progression

Interrupt a workflow execution with pause, resume, or terminate actions.

Advanced Features

Observability

Configure and use observability features to monitor and debug workflows.

Getting Started