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