| 1 | // Copyright 2025 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 | //go:build ignore |
| 6 | |
| 7 | // The errorsas command applies the golang.org/x/tools/go/analysis/passes/errorsas |
| 8 | // analysis to the specified packages of Go source code. |
| 9 | package main |
| 10 | |
| 11 | import ( |
| 12 | "golang.org/x/tools/go/analysis/passes/errorsas" |
| 13 | "golang.org/x/tools/go/analysis/singlechecker" |
| 14 | ) |
| 15 | |
| 16 | func main() { singlechecker.Main(errorsas.Analyzer) } |