About this project
GoFr is an opinionated Go framework designed to simplify microservice development, with a strong focus on Kubernetes deployment and out-of-the-box observability. It provides a simple API syntax with REST standards by default, configuration management, and built-in observability including logs, traces, and metrics. Key features include inbuilt auth middleware and custom middleware support, gRPC support, HTTP service with circuit breaker, pub/sub, health checks for all datasources, database migrations, cron jobs, dynamic log level changes without restart, Swagger rendering, abstracted file systems, and websockets. The framework requires Go 1.26 or above. To get started, import "gofr.dev/pkg/gofr" and use Go's module support. A minimal example shows creating an app, defining a GET route, and running it on localhost:8000. The repository includes a variety of ready-to-run examples in the examples directory. Documentation is available via GoDoc and the official GoFr documentation site. The project is listed in the CNCF Landscape and is open source under the Apache 2.0 license. Contributions are welcome, and contributors can earn GoFr merchandise.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.