go-tools
https://github.com/dominikh/go-tools
Go
Staticcheck - The advanced Go linter
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported18 Subscribers
Add a CodeTriage badge to go-tools
Help out
- Issues
- Suggest strings.ContainsFunc instead of strings.IndexFunc with Go 1.21+
- staticcheck: recommend iterator-based alternatives from the standard library
- S1008 says to simplify, but I think the existing code is more readable
- staticcheck: flag subtly-useless/incorrect bounds checks
- spurious SA5009 with fmt.Formatter
- new rule: check for regexp.(Must)Compile with static input inside a function
- simple: unnecessary "if err != nil" before returning error or nil
- staticcheck: filepath.Ext returns an empty string or a string beginning with a dot
- Useless recover not detected
- O(n^2) performance regression between v0.3.23 and v0.4.0 on long file
- Docs
- Go not yet supported