Staticcheck is a suite of static analysis tools for Go. It specialises on bug finding, code simplicity, performance and editor integration.

Staticcheck is open source and offered free of charge. It is continuously enhanced with new and improved checks.

Good Stuff

Automated code review

Enrich your team with a reviewer that never sleeps, never tires, and always has a keen eye for code quality!

Editor integration

Staticcheck has got your back, making sure questionable code never leaves your machine.

Constantly evolving

We always strive to find more issues in your code. To that end, we keep constantly improving our tools.

More Good Stuff


Code obviously has to be correct. Unfortunately, it never is. Some code is more correct than other, but there'll always be bugs. Tests catch some, your peers catch others, and staticcheck catches some more.


After correctness comes simplicity. There are many ways to skin a cat (but please don't), but some are unnecessarily elaborate. Staticcheck helps you replace complex code with simple code.


Code is a living thing. If it's not maintained regularly, it will become stale and unreliable. It won't catch up when its dependencies move on or guidelines change. Staticcheck is like a sitter for your code for when you don't have time.

Advanced editor integration Coming soon

Any editor can run external tools and display their output, in a weird one-way relationship. But what if your editor and tools communicated? What if your editor offered actionable advice based on tool output? What if it could fix bugs for you? Intelligent editor integration makes this possible.