Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + type Importer struct + func New(ctxt *build.Context, fset *token.FileSet, packages map[string]*types.Package) *Importer + func (p *Importer) Import(path string) (*types.Package, error) + func (p *Importer) ImportFrom(path, srcDir string, mode types.ImportMode) (*types.Package, error)