Sign in
go
/
tools
/
65196caeed0001ac363270d53feaf62d9b90873f
/
.
/
refactor
/
eg
/
testdata
/
E.template
blob: 4bbbd1139b946a6bcc12d5b4c5b85566e058e422 [
file
] [
log
] [
blame
]
package
template
import
(
"fmt"
"log"
"os"
)
// Replace call to void function by call to non-void function.
func before
(
x
interface
{})
{
log
.
Fatal
(
x
)
}
func after
(
x
interface
{})
{
fmt
.
Fprintf
(
os
.
Stderr
,
"warning: %v"
,
x
)
}