github.com/acwpower/studygo@v0.0.0-20220210033106-9f3f6e60fdcc/pkg/mod/golang.org/x/tools@v0.1.1/refactor/eg/testdata/A2.go (about) 1 package A2 2 3 // This refactoring causes addition of "errors" import. 4 // TODO(adonovan): fix: it should also remove "fmt". 5 6 import myfmt "fmt" 7 8 func example(n int) { 9 myfmt.Errorf("%s", "") 10 }