Documentation
¶
Overview ¶
importer provides mechanisms for loading go/build.Package structures from source packages on disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Importer ¶
type Importer interface {
// Import imports the package from importpath.
Import(importpath string) (*build.Package, error)
// Before searchs this importer before the child.
Before(child Importer) Importer
// After searches this importer after the child.
After(child Importer) Importer
}
Importer imports a package.
Click to show internal directories.
Click to hide internal directories.