Created
October 26, 2019 20:39
-
-
Save maxsimych/e7d128bf9061f5585fe13391c434ce6d to your computer and use it in GitHub Desktop.
golang checkErr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func checkErr(err error) { | |
| if err != nil { | |
| panic(err) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment