YTSFlix_Go/vendor/github.com/anacrolix/missinggo/x/panic.go
2018-11-04 15:58:15 +01:00

9 lines
124 B
Go

package x
// Panic if error. Just fucking add exceptions, please.
func Pie(err error) {
if err != nil {
panic(err)
}
}