nosleep
The world's spookiest linter
nosleep
is a golang-ci compatible linter which checks for and fails if it detects usages of time.Sleep
.
Why did you do this
- Why not!
- To learn how to write a linter
- To learn how
go/analysis
works - To detect usages of
time.Sleep
(primarily in tests), and make sure they're really necessary