Restate is a system for easily building resilient applications, workflows, asynchronous tasks, and event-driven applications.
This example contains the code for the Tour of Restate
tutorial, for the Go API.
This tutorial takes your through key Restate features by developing an end-to-end ticketing app.
❓ Learn more about Restate from the Restate documentation.
You can clone the example repository (git clone https://github.com/restatedev/examples
) or just download this tutorial via
-
CLI:
restate example go-tour-of-restate
-
Zip archive:
wget https://github.com/restatedev/examples/releases/latest/download/go-tour-of-restate.zip
Have a look at the Tour of Restate tutorial in the documentation to build and run the application in this repository.
In short, you can run the different parts of the code via:
go run ./app
go run ./part1
go run ./part2
go run ./part3
go run ./part4