mirror of
https://github.com/make-42/xyosc
synced 2024-11-22 17:20:09 +01:00
10 lines
97 B
Go
10 lines
97 B
Go
package utils
|
|
|
|
import "log"
|
|
|
|
func CheckError(err error) {
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|