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