github.com/april1989/origin-go-tools@v0.0.32/refactor/eg/testdata/A2.go (about) 1 // +build ignore 2 3 package A2 4 5 // This refactoring causes addition of "errors" import. 6 // TODO(adonovan): fix: it should also remove "fmt". 7 8 import myfmt "fmt" 9 10 func example(n int) { 11 myfmt.Errorf("%s", "") 12 }