Skip to content

Instantly share code, notes, and snippets.

@alexmozaidze
Last active January 16, 2024 05:44
Show Gist options
  • Save alexmozaidze/2186f57e8fc6fc9146d2aa2f0158a5f5 to your computer and use it in GitHub Desktop.
Save alexmozaidze/2186f57e8fc6fc9146d2aa2f0158a5f5 to your computer and use it in GitHub Desktop.
Go error handling is ez
snippet ife
if err != nil {
${1:panic(${0:err})}
}
@alexmozaidze
Copy link
Author

Never again will you think Go's error handling is tedious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment