func defaultImporter() types2.Importer { … } type gcimports … func (m *gcimports) Import(path string) (*types2.Package, error) { … } func (m *gcimports) ImportFrom(path, srcDir string, mode types2.ImportMode) (*types2.Package, error) { … }
func defaultImporter() types2.Importer { … } type gcimports … func (m *gcimports) Import(path string) (*types2.Package, error) { … } func (m *gcimports) ImportFrom(path, srcDir string, mode types2.ImportMode) (*types2.Package, error) { … }