prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.
☆666Feb 26, 2026Updated 6 months ago
Alternatives and similar repositories for prealloc
Users that are interested in prealloc are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 4 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 6 months ago
- Find unused parameters in Go☆572Updated this week
- Find in Go repeated strings that could be replaced by a constant☆320Jul 29, 2026Updated last month
- like gofmt except for go templates☆173Nov 4, 2017Updated 8 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Remove unnecessary type conversions from Go source☆387Aug 16, 2026Updated last week
- Reduce Go programs☆214Mar 19, 2024Updated 2 years ago
- Distributed Go channels☆161Jul 2, 2018Updated 8 years ago
- Magic number detector for Go.☆208Dec 21, 2023Updated 2 years ago
- Staticcheck - The advanced Go linter☆6,872Updated this week
- ☆392Sep 15, 2017Updated 8 years ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated 10 months ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆323Jul 23, 2026Updated last month
- Crash your app in style (Golang)☆3,709Jul 13, 2026Updated last month
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- unimport is a Go static analysis tool to find unnecessary import aliases.☆71Nov 6, 2017Updated 8 years ago
- Shotizam analyzes the size of Go binaries☆612Jul 14, 2024Updated 2 years ago
- Tool to detect Go structs that would take less memory if their fields were sorted.☆537May 9, 2023Updated 3 years ago
- Detect ineffectual assignments in Go code.☆470Aug 27, 2025Updated last year
- xast: ast rewriter with built-in clean up.☆27Aug 31, 2017Updated 8 years ago
- Selected Go-internal packages factored out from the standard library