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