https://github.com/oxplot/go-x-analyzers
https://github.com/oxplot/go-x-analyzers
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/oxplot/go-x-analyzers
- Owner: oxplot
- Created: 2026-04-29T04:35:47.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-04-29T05:34:16.000Z (about 1 month ago)
- Last Synced: 2026-04-29T07:23:47.077Z (about 1 month ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-x-analyzers
`go-x-analyzers` is a standalone `multichecker` binary for analyzers in
`golang.org/x/tools/go/analysis/passes`.
The generated `main.go` is derived from `golang.org/x/tools`. Running
`go generate ./...` first advances that module to `@latest`, then scans direct
pass packages for exported `Analyzer` values and exported analyzer `Suite`
values. Add analyzer names to `excluded.txt`, one per line, before running
`go generate` to omit them from the generated multichecker.
```sh
go generate ./...
```
Build and run the checker:
```sh
go build -o go-x-analyzers .
./go-x-analyzers ./...
```