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