mirror of
https://github.com/make-42/xyosc
synced 2024-11-23 01:30: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)
|
|
}
|
|
}
|