finds.dev

gotomicro/ego

A simple and component-based microservice kit for go. 一个简单的基于组件的 Go 微服务套件。

View on GitHubHomepage ↗

★ 994GoMITupdated Jun 2026

// the take

EGO is a Go microservice framework that wraps gin, gRPC, GORM, Redis, Kafka and etcd behind a single config-driven component model with built-in logging, tracing and metrics. It's aimed at teams who want a Kratos/go-zero-style opinionated framework rather than assembling their own stack from individual libraries.

The unified component pattern (Load("config-name").Build()) gives every client/server a consistent config schema, error format and lifecycle, so once you've learned one component the others are mostly muscle memory. The built-in debug mode (EGO_DEBUG=true) prints line numbers, request/response payloads and timing per call across gRPC, HTTP and DB clients, which is a genuinely useful thing most frameworks make you bolt on yourself. OpenTelemetry tracing and metrics are wired in by default rather than left as an exercise for the user. The egoctl CLI generates protobuf, HTTP handlers and error codes from a single source, cutting down repetitive glue code.

A lot of what you'd actually reach for — MySQL, Redis, Mongo, Kafka, etcd, k8s, OAuth2 — lives in separate ego-component repos with their own versioning, so adopting EGO means pulling in a loosely coordinated federation of packages rather than one cohesive release. Community and documentation are Chinese-first (the support channel is a WeChat group, and the primary docs site is in Chinese) despite the English README, which matters if you hit an obscure issue and need to search for it. The config-driven, lifecycle-managed startup is all-or-nothing — there's no light way to use just the HTTP client or just the tracing without buying into EGO's whole app model. At ~1k stars and a small contributor list, this is a niche framework maintained by a small group; if you're betting production infra like your DB and queue clients on it, upstream library changes (GORM, go-redis, etc.) need to be tracked and absorbed by that same small group before you see them.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
994
Forks
161
Language
Go
License
MIT
Last commit
2 Jun 2026

// nearby

If ego isn't quite it.

All repos →