Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 555 Bytes

File metadata and controls

19 lines (16 loc) · 555 Bytes

helloworld

inspired by temporalio/samples-go/mutex

Getting Started

  1. Run a temporal service
    temporal server start-dev
  2. In a different shell, run the example worker
    go run examples/mutex/main.go worker
  3. In a different shell, execute the workflow
    go run examples/mutex/main.go sample-workflow-with-mutex --resource-id foo -d
    go run examples/mutex/main.go sample-workflow-with-mutex --resource-id foo -d