go-zero and goa

These are competitors: both provide CLI-driven code generation for building Go microservices, though go-zero emphasizes cloud-native infrastructure and goa emphasizes design-first API specification and multi-protocol support.

go-zero
68
Established
goa
62
Established
Maintenance 20/25
Adoption 10/25
Maturity 16/25
Community 22/25
Maintenance 16/25
Adoption 10/25
Maturity 16/25
Community 20/25
Stars: 32,816
Forks: 4,287
Downloads:
Commits (30d): 20
Language: Go
License: MIT
Stars: 6,064
Forks: 581
Downloads:
Commits (30d): 4
Language: Go
License: MIT
No Package No Dependents
No Package No Dependents

About go-zero

zeromicro/go-zero

A cloud-native Go microservices framework with cli tool for productivity.

Provides code generation from `.api` schema files to HTTP/RPC services with built-in resilience patterns—automatic timeout propagation, circuit breakers, rate limiting, and load shedding—all without manual configuration. Features cross-language code generation (Go, iOS, Android, Kotlin, Dart, TypeScript, JavaScript) and integrates with service discovery, distributed tracing, and parameter validation across HTTP and gRPC protocols.

About goa

goadesign/goa

Design-first Go framework that generates API code, documentation, and clients. Define once in an elegant DSL, deploy as HTTP and gRPC services with zero drift between code and docs.

Goa generates server interfaces, client libraries, and OpenAPI documentation directly from a declarative DSL, eliminating boilerplate and synchronization issues between specs and implementation. It supports multiple transport protocols—HTTP REST, gRPC, and JSON-RPC—from a single service definition, with clean separation between business logic and transport concerns. The framework includes built-in support for authentication, authorization, CORS, and comprehensive error handling across all generated transports.

Related comparisons

Scores updated daily from GitHub, PyPI, and npm data. How scores work