# go-zero

> A cloud-native Go microservices framework with a code generation CLI

Source: https://talira.ai/catalog/go-zero-18jnhjpx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Command-line tool
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [frameworks / rpc](https://talira.ai/categories/frameworks/rpc)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [go-zero team](https://talira.ai/orgs/zeromicro.md)

go-zero is a web and RPC framework for Go microservices with resilience built in: chained timeout control, concurrency control, rate limiting, adaptive circuit breaking and adaptive load shedding work without configuration. Its CLI, goctl, generates the Go API and RPC server code from a simple .api definition, and client code for iOS, Android, Kotlin, Dart, TypeScript and JavaScript. It validates request parameters automatically and ships middleware and toolkits for microservice management and concurrency. It's listed in the CNCF Landscape.

## Links

- Website: https://go-zero.dev/
- GitHub: https://github.com/zeromicro/go-zero
- Docs: https://go-zero.dev/

## Problems it solves

- build Go microservices that stay up under heavy traffic without wiring circuit breakers myself
- generate a Go API server and its clients from one API definition
- add rate limiting and load shedding to Go services without extra configuration
- a Go framework for both HTTP APIs and gRPC services

## Features

- adaptive circuit breaker, load shedding, rate limiting and timeout control built in
- goctl code generation for API and RPC services from .api files
- client code generation for iOS, Android, Kotlin, Dart, TypeScript and JavaScript
- automatic request parameter validation
- built-in middleware usable in other frameworks

## Trust

Overall: 0.76 out of 1.
Signals: maintenance 1.00, adoption 0.90, momentum 0.80, community 1.00, backing 0.30, extensibility 0.00.

- last commit 11 days ago
- 79 commits in the last 90 days
- latest release v1.11.0 14 days ago
- 33.4k GitHub stars
- 351 contributors
- accepts sponsorship (Github)
- backed by go-zero team

## Alternatives

- [Kratos](https://talira.ai/catalog/kratos-5wy0dm66.md): Go microservices framework for the cloud-native era
- [GoFr](https://talira.ai/catalog/gofr-w7adez3t.md): Opinionated Go framework for microservices with built-in observability and Kubernetes focus
- [Gin](https://talira.ai/catalog/gin-zd6z62pc.md): The fastest full-featured HTTP web framework for Go
- [go-restful](https://talira.ai/catalog/go-restful-cvjvx8yk.md): Lean Go package for building REST-style web services
- [chi](https://talira.ai/catalog/chi-95y6xdkd.md): Lightweight, composable HTTP router for Go services built on net/http
- [Iris](https://talira.ai/catalog/iris-qveva698.md): Web framework for Go whose builder makes out-of-order setup a compile error

## Sources

[^1]: https://github.com/zeromicro/go-zero/blob/master/LICENSE (checked 24 Nov 2026)
