...

Text file src/golang.org/x/tools/refactor/eg/testdata/A2.golden

Documentation: golang.org/x/tools/refactor/eg/testdata

     1package A2
     2
     3// This refactoring causes addition of "errors" import.
     4// TODO(adonovan): fix: it should also remove "fmt".
     5
     6import (
     7	"errors"
     8	myfmt "fmt"
     9)
    10
    11func example(n int) {
    12	errors.New("")
    13}

View as plain text