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