-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add durable statestore example #102
Conversation
@sdil kindly use conventional commit message format as the PR title. You can find some examples here https://www.conventionalcommits.org/en/v1.0.0/#examples. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kindly rename the eventsource
package to eventssourced
and the statestore
to durablestate
example/eventsource/main.go
Outdated
default: | ||
return nil, errors.New("unhandled event") | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kindly remove this EOF character by inserting a space
Summary
I'm adding an example for Durable State Actor which based on the existing example. The users should be able to compare between Durable State Actor and Event Sourced Actor easily by looking at the diff between
example/eventsource/main.go
andexample/statestore/main.go
files.Durable Actor rocks!