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#L170: parentCtx := cfg.Context
golist.go#L912: stdout, stderr, friendlyErr, err := state.runner.RunRaw(cfg.Context, inv)
packages.go#L160: Context context.Context
packages.go#L751: if ld.Context == nil {
packages.go#L752: ld.Context = context.Background()
packages.go#L948: g, _ := errgroup.WithContext(ld.Context)
packages.go#L983: if err := ld.Context.Err(); err != nil {
packages.go#L1071: if ld.Context.Err() != nil {
packages.go#L1202: if ld.Context.Err() != nil {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)