1package template 2 3import ( 4 "fmt" 5 "log" 6 "os" 7) 8 9// Replace call to void function by call to non-void function. 10 11func before(x interface{}) { log.Fatal(x) } 12func after(x interface{}) { fmt.Fprintf(os.Stderr, "warning: %v", x) }
View as plain text