We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the last function in the chain returns nothing, the system panics:
f1 := func() int { return 0 } f2 := func(x int) {} New().Chain(f1, f2).Unwrap()
For the case above, the Unwrap method is supposed to return any zero-value (like an empty string) and a nil error
Unwrap
nil
The text was updated successfully, but these errors were encountered:
Fixed by release v1.0.2
Sorry, something went wrong.
No branches or pull requests
When the last function in the chain returns nothing, the system panics:
For the case above, the
Unwrap
method is supposed to return any zero-value (like an empty string) and anil
errorThe text was updated successfully, but these errors were encountered: