MCPcopy
hub / github.com/golang/tools / LoadMode

TypeAlias LoadMode

go/packages/packages.go:66–66  ·  view source on GitHub ↗

A LoadMode controls the amount of detail to return when loading. The bits below can be combined to specify which fields should be filled in the result packages. The zero value is a special case, equivalent to combining the NeedName, NeedFiles, and NeedCompiledGoFiles bits. ID and Errors (if presen

Source from the content-addressed store, hash-verified

64// - https://go.dev/issue/58726
65// - https://go.dev/issue/63517
66type LoadMode int
67
68const (
69 // NeedName adds Name and PkgPath.

Callers 5

configMethod · 0.92
loadPackagesFunction · 0.92
TestLoadModeStringsFunction · 0.92
testTypecheckCgoFunction · 0.92
TestDriverConformanceFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected