package main import ( "fmt" "os" ) func checkError(e error) { if e != nil { fmt.Println(e) os.Exit(1) } }