Documentation
¶
Index ¶
- func Goroot() string
- type PackageCache
- func (c *PackageCache) GetDeps(rootImportPath, srcDir string) (deps []*std_build.Package, errs []error)
- func (c *PackageCache) Import(importPath, srcDir string, mode std_build.ImportMode) (*std_build.Package, error)
- func (c *PackageCache) SetContext(context std_build.Context)
- func (c *PackageCache) SrcDirInKey(enable bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackageCache ¶
type PackageCache struct {
// contains filtered or unexported fields
}
func NewPackageCache ¶
func NewPackageCache() *PackageCache
func (*PackageCache) GetDeps ¶
func (c *PackageCache) GetDeps(rootImportPath, srcDir string) (deps []*std_build.Package, errs []error)
func (*PackageCache) Import ¶
func (c *PackageCache) Import(importPath, srcDir string, mode std_build.ImportMode) (*std_build.Package, error)
func (*PackageCache) SetContext ¶
func (c *PackageCache) SetContext(context std_build.Context)
func (*PackageCache) SrcDirInKey ¶
func (c *PackageCache) SrcDirInKey(enable bool)
Click to show internal directories.
Click to hide internal directories.