From ca4764ca30cf3f979d0f2cf7ecaaf4adb66ba03c Mon Sep 17 00:00:00 2001 From: Jack Kleeman Date: Fri, 16 Aug 2024 12:02:36 +0100 Subject: [PATCH] Refer to go tour --- .github/workflows/release.yml | 1 + .tools/prepare_release_zip.sh | 1 + .tools/run_go_tests.sh | 3 ++- .tools/update_go_examples.sh | 1 + README.md | 7 +++++++ 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be307b33..a468ce1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,7 @@ jobs: typescript-deno-hello-world.zip go-hello-world.zip kotlin-hello-world-lambda-cdk.zip + go-tour-of-restate.zip java-tour-of-restate.zip typescript-tour-of-restate.zip typescript-ticket-reservation.zip diff --git a/.tools/prepare_release_zip.sh b/.tools/prepare_release_zip.sh index 9cc8ffb2..f2b3fccd 100755 --- a/.tools/prepare_release_zip.sh +++ b/.tools/prepare_release_zip.sh @@ -28,6 +28,7 @@ create_release_zip templates/typescript-lambda-cdk typescript-hello-world-lambda create_release_zip templates/kotlin-gradle-lambda-cdk kotlin-hello-world-lambda-cdk create_release_zip templates/python python-hello-world +create_release_zip tutorials/tour-of-restate-go go-tour-of-restate create_release_zip tutorials/tour-of-restate-java java-tour-of-restate create_release_zip tutorials/tour-of-restate-typescript typescript-tour-of-restate diff --git a/.tools/run_go_tests.sh b/.tools/run_go_tests.sh index 1b49bd35..e3cd2feb 100755 --- a/.tools/run_go_tests.sh +++ b/.tools/run_go_tests.sh @@ -5,9 +5,10 @@ PROJECT_ROOT="$(dirname "$SELF_PATH")/.." function go_build_check() { pushd $1 - go build -o /dev/null . + go build -o /dev/null ./... go vet ./... popd } go_build_check $PROJECT_ROOT/templates/go +go_build_check $PROJECT_ROOT/tutorials/tour-of-restate-go diff --git a/.tools/update_go_examples.sh b/.tools/update_go_examples.sh index bdf9184a..734d91a4 100755 --- a/.tools/update_go_examples.sh +++ b/.tools/update_go_examples.sh @@ -12,3 +12,4 @@ function bump_go_sdk() { } bump_go_sdk $PROJECT_ROOT/templates/go +bump_go_sdk $PROJECT_ROOT/tutorials/tour-of-restate-go diff --git a/README.md b/README.md index e240eebc..c89b388a 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,13 @@ challenges. | Templates | [Python Template](templates/python) | | Use Cases | [Ticket reservation](patterns-use-cases/ticket-reservation/ticket-reservation-python) | +### Go + +| Type | Name / Link | +|-----------|-------------------------------------------------| +| Templates | [Go Template](templates/go) | +| Tutorial | [Tour of Restate](tutorials/tour-of-restate-go) | + ## Joining the community If you want to join the Restate community in order to stay up to date, then please join our [Discord](https://discord.gg/skW3AZ6uGd).