This repository provides code used for exercises and demonstrations included in the Go version of the Temporal 102 training course.
It's important to remember that the example code used in this course was designed to support learning a specific aspect of Temporal, not to serve as a ready-to-use template for implementing a production system.
For the exercises, make sure to run temporal server start-dev --ui-port 8080 --db-filename clusterdata.db
in one terminal to start the Temporal server. For more details on this command, please refer to the Setting up a Local Development Environment
chapter in the course. Note: If you're using the Gitpod environment to run this exercise, you can skip this step.
Directory Name | Exercise |
---|---|
exercises/durable-execution |
Exercise 1 |
exercises/testing-code |
Exercise 2 |
exercises/debug-activity |
Exercise 3 |
Directory Name | Description |
---|---|
samples/age-estimation |
Calls a remote API to estimate a given name |
samples/using-structs |
Demonstrates how to model inputs and outputs |
The following links provide additional information that you may find helpful as you work through this course.
- General Temporal Documentation
- Temporal Go SDK Documentation
- Go Language Documentation
- GitPod Documentation: Troubleshooting
You can launch an exercise environment for this course in GitPod by clicking the button below:
Alternatively, you can follow the instructions in the "(Optional activity) Setting up a Local Development Environment" section in the course to set up a local development environment.