packagesdriver

package
Version: v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 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.

Source Files

Jump to

Keyboard shortcuts

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