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