1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:14:45 -07:00
go/refactor/eg/testdata/A2.golden

16 lines
215 B
Plaintext
Raw Normal View History

// +build ignore
package A2
// This refactoring causes addition of "errors" import.
// TODO(adonovan): fix: it should also remove "fmt".
import (
myfmt "fmt"
"errors"
)
func example(n int) {
errors.New("")
}