https://github.com/temporalio/edu-102-go-code
Code used in exercises and demonstrations for the "Temporal 102 with Go" course
https://github.com/temporalio/edu-102-go-code
Last synced: 12 months ago
JSON representation
Code used in exercises and demonstrations for the "Temporal 102 with Go" course
- Host: GitHub
- URL: https://github.com/temporalio/edu-102-go-code
- Owner: temporalio
- License: mit
- Created: 2023-04-26T14:33:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-02T22:42:48.000Z (12 months ago)
- Last Synced: 2025-07-02T23:31:01.629Z (12 months ago)
- Language: Go
- Homepage: https://learn.temporal.io/courses/temporal_102/go
- Size: 172 KB
- Stars: 11
- Watchers: 6
- Forks: 25
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Code Repository for Temporal 102 (Go)
This repository provides code used for exercises and demonstrations
included in the Go version of the
[Temporal 102](https://learn.temporal.io/courses/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 browser environment to run this exercise, you can skip this step.
## Hands-On Exercises
Directory Name | Exercise
:--------------------------------- | :-------------------------------------------------------
`exercises/durable-execution` | [Exercise 1](exercises/durable-execution/README.md)
`exercises/testing-code` | [Exercise 2](exercises/testing-code/README.md)
`exercises/debug-activity` | [Exercise 3](exercises/debug-activity/README.md)
## Examples for Self-Study
Directory Name | Description
:------------------------------------- | :----------------------------------------------------------------------------------
`samples/age-estimation` | [Calls a remote API to estimate a given name](samples/age-estimation/README.md)
`samples/using-structs` | [Demonstrates how to model inputs and outputs](samples/using-structs/README.md)
## Reference
The following links provide additional information that you may find helpful as you work through this course.
* [General Temporal Documentation](https://docs.temporal.io/)
* [Temporal Go SDK Documentation](https://pkg.go.dev/go.temporal.io/sdk)
* [Go Language Documentation](https://go.dev/doc/)
## Exercise Environment for this Course
You can launch an exercise environment for this course using GitHub Codespaces by
following [this](codespaces.md) walkthrough.
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.