Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
A Context specifies the supporting context for a build.
func (Context) Import ¶
Import returns details about the Go package named by the import path, interpreting local import paths relative to the srcDir directory. If the path is a local import path naming a package that can be imported using a standard import path, the returned package will set p.ImportPath to that path.
If an error occurs, Import returns a non-nil error and a non-nil *Package containing partial information.
type ImportMode ¶
type ImportMode = build.ImportMode
An ImportMode controls the behavior of the Import method.
Click to show internal directories.
Click to hide internal directories.