packagesdriver

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: MIT, BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSizes

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

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

func InvokeGo

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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