Sign in
go
/
tools
/
67611a11a1be5466d372eba4e925d97290929ef4
/
.
/
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
)
}