staticcheck offers extensive analysis of Go code, covering a myriad of categories. It will detect bugs, suggest code simplifications, point out dead code, and more.
See the main README for installation instructions.
Detailed documentation can be found on staticcheck.dev.