tools: golang.org/x/tools/go/internal/packagesdriver Index | Files

package packagesdriver

import "golang.org/x/tools/go/internal/packagesdriver"

Package packagesdriver fetches type sizes for go/packages and go/analysis.

Index

Package Files

sizes.go

func GetSizes Uses

func GetSizes(ctx context.Context, buildFlags, env []string, dir string, usesExportData bool) (types.Sizes, error)

GetSizes returns the sizes used by the underlying driver with the given parameters.

func GetSizesGolist Uses

func GetSizesGolist(ctx context.Context, buildFlags, env []string, dir string, usesExportData bool) (types.Sizes, error)

func InvokeGo Uses

func InvokeGo(ctx context.Context, env []string, dir string, usesExportData bool, args ...string) (*bytes.Buffer, error)

InvokeGo returns the stdout of a go command invocation.

Package packagesdriver imports 10 packages (graph) and is imported by 1 packages. Updated 2019-09-21. Refresh now. Tools for package owners.