package utils import "fmt" func PaincEro(err error, msg string) { if err != nil { fmt.Println(msg) panic(err) } }