Sign in
go
/
tools
/
50c062a2b64ae6bd45d5438e888a0abf38915a6f
/
.
/
refactor
/
eg
/
testdata
/
A.template
blob: f6119618b4ff718039552678d2c47d5d44d23e8a [
file
] [
log
] [
blame
]
// +build ignore
package
template
// Basic test of type-aware expression refactoring.
import
(
"errors"
"fmt"
)
func before
(
s
string
)
error
{
return
fmt
.
Errorf
(
"%s"
,
s
)
}
func after
(
s
string
)
error
{
return
errors
.
New
(
s
)
}