Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite all samples using structs for activities #20

Closed
alexshtin opened this issue Apr 28, 2020 · 1 comment
Closed

Rewrite all samples using structs for activities #20

alexshtin opened this issue Apr 28, 2020 · 1 comment

Comments

@alexshtin
Copy link
Member

Activities can be implemented in a few different ways. The most robust and useful way is to implement them as structs (See temporalio/sdk-go#4). Samples still use legacy way and implement activities as single funcs.

All samples should be rewritten with structs.

@mfateev
Copy link
Member

mfateev commented Apr 29, 2020

I have it already done. Waiting for a server release to submit: https://github.com/mfateev/temporal-go-samples/tree/struct_activities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants