Skip to content

Commit

Permalink
add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Jan 31, 2023
1 parent 1723547 commit fe94e69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions util/error.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package util

// Panic panics on error
func Panic(err error) {
if err != nil {
panic(err)
}
}

0 comments on commit fe94e69

Please sign in to comment.