TheMathemagicians/sevenkeys/logic/errcheck.go

10 lines
92 B
Go
Raw Normal View History

2024-05-28 14:29:13 +00:00
package logic
import "log"
func Check(err error) {
if err != nil {
log.Fatal(err)
}
}