| // Copyright 2026 The Go Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| // Package fix provides the analyzers of cmd/fix, from the copy of | |
| // golang.org/x/tools vendored into the standard library, so that they | |
| // share a single vendored copy with the analyzers of cmd/vet. | |
| // | |
| // Run them with the driver from the same copy (see | |
| // [internal/analysis/unitchecker]), since the *analysis.Analyzer types | |
| // must be identical. | |
| // | |
| // This package is an import bottleneck: importing it for any symbol | |
| // depends on every analyzer of the fix suite. That is intended, since | |
| // it is meant only for programs that run the whole suite, such as | |
| // cmd/fix; it should not be imported for the sake of a single | |
| // analyzer. | |
| package fix | |
| import "golang.org/x/tools/go/analysis/suite/fix" | |
| // Suite is the set of analyzers run by cmd/fix. | |
| var Suite = fix.Suite |