talira

Opinionated Go framework for microservices with built-in observability and Kubernetes focus

open sourceApache-2.0free

GoFr is an opinionated Go framework for building microservices, focused on Kubernetes deployment and built-in observability: a simple API with REST standards by default, configuration management, logs, traces and metrics, auth and custom middleware, gRPC, HTTP service calls with circuit breakers, pub/sub, health checks for every data source, database migrations, cron jobs, changing the log level without a restart, Swagger rendering and abstracted file systems. It publishes an AGENTS.md for AI coding assistants.

Problems it solves

  • a Go framework for microservices on Kubernetes
  • build a Go REST API with observability built in
  • a batteries-included Go backend framework

Features

  • REST by default with simple API
  • logs, traces and metrics built in
  • gRPC and pub/sub
  • circuit breakers and health checks
  • migrations and cron jobs
  • Swagger rendering

Alternatives

The same job

These do what GoFr does.

  1. go-zero A cloud-native Go microservices framework with a code generation CLI
  2. Kratos Go microservices framework for the cloud-native era
  3. Iris Web framework for Go whose builder makes out-of-order setup a compile error
  4. Echo High performance, minimalist Go web framework
  5. go-restful Lean Go package for building REST-style web services
  6. GoFrame Modular Go application framework: HTTP server, ORM, config, logging, caching and microservice governance, with a gf CLI

Compare GoFr with the top 3