init
This commit is contained in:
8
vendor/github.com/anacrolix/missinggo/x/panic.go
generated
vendored
Normal file
8
vendor/github.com/anacrolix/missinggo/x/panic.go
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package x
|
||||
|
||||
// Panic if error. Just fucking add exceptions, please.
|
||||
func Pie(err error) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user