Skip to content

Commit b9abeed

Browse files
Introduce the new structure
Signed-off-by: Ender Demirkaya <[email protected]>
1 parent 5e88cc2 commit b9abeed

File tree

13 files changed

+34
-420
lines changed

13 files changed

+34
-420
lines changed

new_samples/hello_world/README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# Cadence Samples
1+
<!-- THIS IS A GENERATED FILE -->
2+
<!-- PLEASE DO NOT EDIT -->
23

3-
These are some samples to demonstrate various capabilities of Cadence client and server. You can learn more about cadence at:
4+
# Hello World Sample
45

5-
* The website: https://cadenceworkflow.io
6-
* Cadence's server: https://github.com/uber/cadence
7-
* Cadence's Go client: https://github.com/uber-go/cadence-client
8-
9-
## Prerequisite
6+
## Prerequisites
107

118
0. Install Cadence CLI. See instruction [here](https://cadenceworkflow.io/docs/cli/).
129
1. Run the Cadence server:
@@ -96,3 +93,10 @@ cadence --env development \
9693
--workflow show \
9794
--wid <workflow_id>
9895
```
96+
97+
## References
98+
99+
* The website: https://cadenceworkflow.io
100+
* Cadence's server: https://github.com/uber/cadence
101+
* Cadence's Go client: https://github.com/uber-go/cadence-client
102+

new_samples/hello_world/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// THIS IS A GENERATED FILE
2+
// PLEASE DO NOT EDIT
3+
14
package main
25

36
import (

new_samples/hello_world/worker.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// THIS IS A GENERATED FILE
2+
// PLEASE DO NOT EDIT
3+
14
// Package worker implements a Cadence worker with basic configurations.
25
package main
36

new_samples/hello_world_generated/README.md

Lines changed: 0 additions & 98 deletions
This file was deleted.

new_samples/hello_world_generated/generator/README_specific.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

new_samples/hello_world_generated/generator/generate.go

Lines changed: 0 additions & 84 deletions
This file was deleted.

new_samples/hello_world_generated/main.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)