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.
go get honnef.co/go/tools/cmd/staticcheck
Detailed documentation can be found on staticcheck.io.