Last active
January 16, 2024 05:44
-
-
Save alexmozaidze/2186f57e8fc6fc9146d2aa2f0158a5f5 to your computer and use it in GitHub Desktop.
Go error handling is ez
This file contains 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
snippet ife | |
if err != nil { | |
${1:panic(${0:err})} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never again will you think Go's error handling is tedious.