go/src/cmd/go/internal/list/list.go

var CmdList

func init() {}

var listCompiled

var listDeps

var listE

var listExport

var listFmt

var listFind

var listJson

var listJsonFields

var listM

var listRetracted

var listReuse

var listTest

var listU

var listVersions

type jsonFlag

func (v *jsonFlag) Set(s string) error {}

func (v *jsonFlag) String() string {}

func (v *jsonFlag) IsBoolFlag() bool {}

func (v *jsonFlag) needAll() bool {}

func (v *jsonFlag) needAny(fields ...string) bool {}

var nl

func runList(ctx context.Context, cmd *base.Command, args []string) {}

// loadPackageList is like load.PackageList, but prints error messages and exits
// with nonzero status if listE is not set and any package in the expanded list
// has errors.
func loadPackageList(roots []*load.Package) []*load.Package {}

// collectDeps populates p.Deps by iterating over p.Internal.Imports.
// collectDeps must be called on all of p's Imports before being called on p.
func collectDeps(p *load.Package) {}

// collectDeps populates p.DepsErrors by iterating over p.Internal.Imports.
// collectDepsErrors must be called on all of p's Imports before being called on p.
func collectDepsErrors(p *load.Package) {}

type TrackingWriter

func newTrackingWriter(w io.Writer) *TrackingWriter {}

func (t *TrackingWriter) Write(p []byte) (n int, err error) {}

func (t *TrackingWriter) Flush() {}

func (t *TrackingWriter) NeedNL() bool {}