Source file src/cmd/go/internal/work/analysis.go
1 // Copyright 2026 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package work 6 7 // This file defines the build actions for go test's use of an 8 // analysis driver in place of cmd/vet (GOEXPERIMENT=vetfiles). 9 // For now, it contains only no-op stubs. 10 11 // analysisAction holds the state of an analysisvet action. 12 type analysisAction struct { 13 // TODO(adonovan): implement. 14 } 15 16 // analysisState is the per-Builder state of analysis in go test. 17 type analysisState struct { 18 // TODO(adonovan): implement. 19 } 20 21 // prioritizeAnalysisTool gives the actions that build the analysis 22 // tool and query its metadata precedence over all others. 23 func (b *Builder) prioritizeAnalysisTool(all []*Action) { 24 // TODO(adonovan): implement. 25 } 26