Skip to content

Instantly share code, notes, and snippets.

@maxsimych
Created October 26, 2019 20:39
Show Gist options
  • Save maxsimych/e7d128bf9061f5585fe13391c434ce6d to your computer and use it in GitHub Desktop.
Save maxsimych/e7d128bf9061f5585fe13391c434ce6d to your computer and use it in GitHub Desktop.

Revisions

  1. maxsimych created this gist Oct 26, 2019.
    5 changes: 5 additions & 0 deletions checkErr.go
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    func checkErr(err error) {
    if err != nil {
    panic(err)
    }
    }