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