Skip to main content

Go SDK introduction

Quick start#

  1. Clone the Hello World project which has all the basic files explained in our Hello World Tutorial:
git clone https://github.com/temporalio/hello-world-project-template-go
  1. Install and run the Temporal Server using docker compose.
git clone https://github.com/temporalio/docker-compose.gitcd docker-composedocker-compose up

You can now view Temporal Web at http://localhost:8088.

  1. Run the worker and starter included in the project.
go run worker/main.gogo run start/main.go
tip

If you have gow installed, you can automatically reload when you change any files:

go install github.com/mitranim/gow@latestgow run worker/main.go # automatically reload when file changed

Resources#

Tutorials#

Basics#