Temporal Go SDK development documentation
These Temporal Go SDK feature guides aim to show how to use Temporal features when developing Temporal Applications.
Core application
The Core Application feature guide shows how to use the basic building blocks of a Temporal Application (Workflows, Activities, and Workers).
- How to develop a basic Workflow
- How to develop an Activity Definition in Go
- How to start an Activity Execution
- How to develop a Worker in Go
- How to run a Temporal Cloud Worker
Temporal Client
The Temporal Client feature guide shows how to connect to a Temporal Service and start a Workflow Execution.
- Connect to development Temporal Service
- Connect to Temporal Cloud
- Start Workflow Execution
- How to start a Workflow Execution
Testing suites
The Testing suite feature guide shows how to set up the testing suite and test Workflows and Activities.
- Test frameworks
- Test setup
- Testing Activities
- Mock and override Activities
- Testing Workflows
- How to Replay a Workflow Execution
Failure detection
The Failure detection feature guide shows how your application can detect failures using timeouts and automatically attempt to mitigate them with retries.
Messages
The Workflow messages feature guide shows how to send messages to and read the state of Workflow Executions.
Asynchronous Activity Completion
The Asynchronous Activity Completion feature guide shows how to complete Activities asynchronously.
Versioning
The Versioning feature guide shows how to change Workflow Definitions without causing non-deterministic behavior in current long-running Workflows.
Observability
The Observability feature guide shows how to configure and use the Temporal Observability APIs.
- How to emit metrics
- Tracing and Context Propagation
- How to log from a Workflow
- How to use Visibility APIs
Debugging
The Debugging feature guide covers the various ways to debug your application.
- How to debug in a development environment
- How to debug in a production environment
- How to test Workflow Definitions in Go
Schedules
The Schedules feature guide shows how to schedule Workflows, run Workflows on a Cron, and to delay the start of a Workflow.
Data encryption
The Data encryption feature guide provides guidance on how to support compression, encryption, and other data handling by implementing custom converters and codecs.
- How to use a custom Payload Codec in Go
- How to use custom payload conversion
- How to use a custom Payload Converter in Go
Child Workflows
The Child Workflows feature guide shows how to spawn a Child Workflow Execution and handle Child Workflow Events.
Continue-As-New
The Continue-As-New feature guide shows how to continue the Workflow Execution with a new Workflow Execution using the same Workflow ID.
Timers
The Durable Timers feature guide shows how to use Timers and sleep within Workflows.
Worker Sessions
The Worker Sessions feature guide shows how to use Worker Session APIs.
- Enable Sessions for a Worker
- Change the maximum concurrent Sessions of a Worker
- Create a Worker Session
Side Effects
The Side Effects feature guide covers how to use Side Effects in Workflows.
Manage Namespaces
The Manage Namespaces feature guide covers how to create and manage Namespaces.