trying_out_go/error.go

11 lines
99 B
Go
Raw Normal View History

2023-10-18 20:46:25 -04:00
package main
import "log"
func Error(err error) {
if err != nil {
log.Fatal(err)
}
return
}