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