TheMathemagicians/sevenkeys/logic/errcheck.go

10 lines
92 B
Go

package logic
import "log"
func Check(err error) {
if err != nil {
log.Fatal(err)
}
}