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

Introspection (part 4) #111

Merged
merged 5 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,8 @@ func main() {
if !errors.Is(err, fs.ErrNotExist) {
log.Fatal(err)
}
} else {
if _, err := coro.Context().Unmarshal(b); err != nil {
log.Fatal(err)
}
} else if err := coro.Context().Unmarshal(b); err != nil {
log.Fatal(err)
}

defer func() {
Expand Down Expand Up @@ -308,7 +306,7 @@ More examples of how to use durable coroutines can be found in [examples](./exam

#### Extend serialization

`coroutine` is able to seamlessly serialized and deserialize most types by
`coroutine` is able to seamlessly serialize and deserialize most types by
default. However there are times when you may want to control the serialization
of specific types. For example, `chan` values are not supported, or you may
decide that some values need specific logic to be functional upon
Expand Down
159 changes: 129 additions & 30 deletions gen/proto/go/coroutine/v1/coroutine.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading