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

spec: if err != nil => || #10877

Closed
xulis opened this issue May 16, 2015 · 2 comments
Closed

spec: if err != nil => || #10877

xulis opened this issue May 16, 2015 · 2 comments

Comments

@xulis
Copy link

xulis commented May 16, 2015

I have a suggestion
_,err := xxoo() if err != nil { return 1 }
=>
_,err := xxoo() || return 1

@xulis xulis closed this as completed May 16, 2015
@minux
Copy link
Member

minux commented May 16, 2015 via email

@mikioh mikioh changed the title if err != nil => || spec: if err != nil => || May 16, 2015
@xulis
Copy link
Author

xulis commented May 16, 2015

Okay, thank you for your answer

@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants