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

Remove unreachable code from enums example #540

Merged
merged 2 commits into from
Jul 3, 2024
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
2 changes: 0 additions & 2 deletions examples/enums/enums.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,4 @@ func transition(s ServerState) ServerState {
default:
panic(fmt.Errorf("unknown state: %s", s))
}

return StateConnected
}
4 changes: 2 additions & 2 deletions examples/enums/enums.hash
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
7237bf811864fcd24b6d43341faf1af147a51b20
0hX2sAX1N6Q
097dc14a53f63735563f6f75314c30908aa46748
3zjUiM66KZe
18 changes: 4 additions & 14 deletions public/enums

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

Loading