back to home

gofr-dev / gofr

An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.

17,174 stars
1,739 forks
82 issues
GoHTMLDockerfile

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing gofr-dev/gofr in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/gofr-dev/gofr)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Go Fr GoFr: An Opinionated Microservice Development Framework Listed in the CNCF Landscape 🎯 **Goal** GoFr is designed to **simplify microservice development**, with key focuses on **Kubernetes deployment** and **out-of-the-box observability**. While capable of building generic applications, **microservices** remain at its core. --- 💡 **Key Features** • **Simple API Syntax** • **REST Standards by Default** • **Configuration Management** • **Observability** (Logs, Traces, Metrics) • **Inbuilt Auth Middleware** & Custom Middleware Support • **gRPC Support** • **HTTP Service** with Circuit Breaker Support • **Pub/Sub** • **Health Check** for All Datasources • **Database Migration** • **Cron Jobs** • **Support for Changing Log Level Without Restarting** • **Swagger Rendering** • **Abstracted File Systems** • **Websockets** --- 🚀 **Getting Started** **Prerequisites** • GoFr requires **Go** version **1.24** or above. **Installation** To get started with GoFr, add the following import to your code and use Go’s module support to automatically fetch dependencies: Alternatively, use the command: --- 🏃 **Running GoFr** Here's a simple example to get a GoFr application up and running: To run this code: Visit to see the result. --- 📂 **More Examples** Explore a variety of ready-to-run examples in the GoFr examples directory. --- 👩‍💻 **Documentation** • **GoDoc**: Official API documentation. • **GoFr Documentation**: Comprehensive guides and resources. --- 👍 **Contribute** Join Us in Making GoFr Better **Share your experience**: If you’ve found GoFr helpful, consider writing a review or tutorial on platforms like **Medium**, **Dev.to**, or your personal blog. Your insights could help others get started faster! **Contribute to the project**: Want to get involved? Check out our **CONTRIBUTING.md** guide to learn how you can contribute code, suggest improvements, or report issues. --- 🔒 **Secure Cloning** To securely clone the GoFr repository, you can use HTTPS or SSH: Cloning with HTTPS Cloning with SSH 🎁 **Get a GoFr T-Shirt & Stickers!** If your PR is merged, or if you contribute by writing articles or promoting GoFr, we invite you to fill out this form to claim your GoFr merchandise as a token of our appreciation! Partners