Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 230 Bytes
package template
import (
"fmt"
"log"
"os"
)
// Replace call to void function by call to non-void function.
func before(x interface{}) { log.Fatal(x) }
func after(x interface{}) { fmt.Fprintf(os.Stderr, "warning: %v", x) }