Introducing GoFr – A Minimal Yet Powerful Go Framework
GoFr is an open-source Golang framework designed to simplify the developer lifecycle, allowing developers to focus on business logic while GoFr takes care of building production-grade applications. It emphasizes minimal boilerplate, clean architecture, and high performance, making it ideal for microservices and modern backend systems.
Over time, we’ve built GoFr with the goal of solving real-world challenges in API development, structured logging, configuration management, and observability while keeping it easy to use. Some key features include:
- Out-of-the-box observability – Built-in support for traces, metrics, and logs.
- Supports both HTTP/HTTPS and gRPC.
- Flexible dependency injection and middleware support
- CRUD generation from structs with SQL constraints
- Pluggable architecture with support for different storage backends
- Supports a wide range of databases – SQL and NoSQL, including MongoDB, Cassandra, ArangoDB, SurrealDB, Scylla, OpenTSDB, Solr, and Dgraph.
- Seamless pub-sub and WebSocket handling – With support for Kafka, Google Pub/Sub, MQTT, NATS, etc.
- CRUD generation from structs with SQL constraints – This feature, known as
AddRestHandler
, automates REST API creation.
GoFr has been battle-tested in production and continues to evolve with community feedback. I’d love to hear your thoughts and suggestions. If you’re interested, you can check out the GitHub repository here > GitHub Link.
Would love to hear from fellow Go developers! Have you faced challenges with Go frameworks? What features do you look for in one? Let’s discuss!