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