10 lines
118 B
Go

package tool
func Must(errs ...error) {
for _, err := range errs {
if err != nil {
panic(err.Error())
}
}
}