Sign in
go
/
tools
/
88b5529c9e152818a95a94bba07f34ce60532bb0
/
.
/
refactor
/
eg
/
testdata
/
A.template
blob: 6a23f12f61e0b4a77311d7e507c417fa39fe3393 [
file
] [
log
] [
blame
]
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
)
}