github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/internal/lsp/testdata/stub/stub_add_selector.go (about) 1 package stub 2 3 import "io" 4 5 // This file tests that if an interface 6 // method references a type from its own package 7 // then our implementation must add the import/package selector 8 // in the concrete method if the concrete type is outside of the interface 9 // package 10 var _ io.ReaderFrom = &readerFrom{} //@suggestedfix("&readerFrom", "refactor.rewrite") 11 12 type readerFrom struct{}