Sign in
go
/
tools
/
ced7ecb2fca0b9f049196c6c3248b78aceeb2cf0
/
.
/
refactor
/
eg
/
testdata
/
I.template
blob: d03e7748219965cd635cf18295ad44b42319f9bd [
file
] [
log
] [
blame
]
// +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
)
}