golang.org/x/tools/go/packages.Config.Context (field)
10 uses
golang.org/x/tools/go/packages (current package)
external.go#L121: cmd := exec.CommandContext(cfg.Context, tool, patterns...)
golist.go#L141: parentCtx := cfg.Context
golist.go#L878: stdout, stderr, friendlyErr, err := state.runner.RunRaw(cfg.Context, inv)
packages.go#L160: Context context.Context
packages.go#L739: if ld.Context == nil {
packages.go#L740: ld.Context = context.Background()
packages.go#L930: g, _ := errgroup.WithContext(ld.Context)
packages.go#L965: if err := ld.Context.Err(); err != nil {
packages.go#L1049: if ld.Context.Err() != nil {
packages.go#L1179: if ld.Context.Err() != nil {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)