func checkErr(err error) {
  if err != nil {
    panic(err)
  }
}
//simple error checking function that outputs any issues
simple error checking function that outputs any issues
// simple error checking function that outputs any issues
func checkErr(err error) {
  if err != nil {
    panic(err)
  }
}
func checkErr ( err error ) { if err != nil { panic ( err ) } }
simple error checking function that outputs any issues
simple error checking function that outputs any issues