Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 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)