package cos418_hw1_1 import "log" // Propagate error if it exists func checkError(err error) { if err != nil { log.Fatal(err) } }