1// +build ignore 2 3package templates 4 5import ( 6 "errors" 7 "fmt" 8) 9 10func before(s string) error { return fmt.Errorf("%s", s) } 11func after(s string) error { 12 n := fmt.Sprintf("error - %s", s) 13 return errors.New(n) 14} 15