Created
This commit is contained in:
7
helpers/errors.go
Normal file
7
helpers/errors.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package helpers
|
||||
|
||||
func PanicIfError(err error) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user