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