Go community chose the best libraries of the year: 2024 voting results
The Go (Golang) ecosystem continues to develop rapidly, and the annual community vote for the best libraries has become an important indicator of trends. In 2024, users and developers identified tools that truly simplify the creation of high-load, reliable, and modern applications. We tell you about the winners and nominees that every Go developer should take note of.
Categories and winners
The voting took place in several key categories, covering all stages of development — from web frameworks to tools for working with databases. Here is the list of the best libraries of 2024:
- Best web framework: Fiber — An Express-like framework that has been outperforming competitors for the second year in a row thanks to its speed and simplicity. With zero allocations and built-in middleware support, Fiber remains a favorite for REST APIs and microservices.
- Best CLI library: Cobra — The de facto standard for creating powerful console utilities. In 2024, Cobra received updated autocompletion support for Zsh and Fish, which further simplified life for developers.
- Best ORM: GORM — Despite competition from Ent and SQLx, GORM remains the leader in popularity. This year, the community noted improved migration support and work with UUID.
- Best testing tool: Testify — A library with convenient assertions and mocks that integrates with the built-in
testingpackage. The 2024 release added support for parallel testing. - Best library for working with HTTP: Chi — A lightweight, composable router chosen for its performance and compatibility with the standard
net/http. Chi overtook Gorilla Mux, which was deprecated. - Best DevOps tool: Docker CLI (Go SDK) — The official SDK for Go, allowing programmatic container management. The community noted the convenience of integration with CI/CD pipelines.
Why are these libraries important for developers?
Each of the winning libraries solves specific problems of the Go community. For example, Fiber allows writing high-performance web servers with a minimal entry threshold, while Cobra enables creating CLI tools that are easy to use even for beginners. GORM and Testify reduce the amount of boilerplate code, which is critical for maintaining large projects.
It is also worth noting the renewed interest in Chi. After the deprecation of Gorilla Mux, many developers switched to Chi, and the library did not disappoint: it is lightweight, well-documented, and supports middleware out of the box.
How to use these libraries in your project?
To get started with any of the listed libraries, simply run go get. For example, to install Fiber:
go get github.com/gofiber/fiber/v2And for Cobra:
go get github.com/spf13/cobraWe also recommend checking out the official repositories — all of them are actively maintained and have detailed code examples.
Conclusions
The 2024 Go community vote confirmed