checkdigitcalculator/error.go

11 lines
99 B
Go

package main
import "log"
func Error(err error) {
if err != nil {
log.Fatal(err)
}
return
}