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