build

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Goroot

func Goroot() string

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL