Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. Go-zero

Go-zero

MITGov1.10.2

A cloud-native Go microservices framework with built-in engineering practices for high-availability services.

Visit WebsiteGitHubGitHub
33.1k stars4.3k forks0 contributors

What is Go-zero?

go-zero is a cloud-native web and RPC framework written in Go, designed for building microservices with built-in engineering practices. It focuses on ensuring service stability under high concurrency through resilience features like circuit breaking, rate limiting, and adaptive load shedding. The framework includes a CLI tool (goctl) for code generation across multiple languages from simple API descriptions.

Target Audience

Go developers building scalable, high-availability microservices for cloud-native environments, especially those needing resilience and productivity tools.

Value Proposition

Developers choose go-zero for its battle-tested resilience features, integrated code generation that reduces boilerplate, and AI-native tooling that accelerates development while maintaining framework conventions.

Overview

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

Use Cases

Best For

  • Building resilient microservices that must handle tens of millions of daily active users
  • Generating client and server code from API definitions for multiple languages
  • Implementing cloud-native Go services with built-in service mesh capabilities
  • Developing high-performance web and RPC APIs with minimal configuration
  • Teams adopting AI-assisted development with tools like Claude, Copilot, or Cursor
  • Ensuring fault tolerance with adaptive circuit breakers and rate limiting

Not Ideal For

  • Simple monolithic applications where microservices architecture is unnecessary
  • Teams that prefer to write all code manually without code generation tools
  • Projects requiring extensive customization beyond the framework's prescribed patterns
  • Non-Go development environments

Pros & Cons

Pros

Built-in Resilience

Integrates adaptive circuit breakers, rate limiting, and load shedding with minimal configuration, proven in services with tens of millions of users for high concurrency stability.

Cross-language Code Generation

The goctl CLI generates Go, iOS, Android, Kotlin, Dart, TypeScript, and JavaScript from .api files, reducing boilerplate and accelerating multi-platform development.

AI-Native Tooling

Provides AI context, patterns, and MCP tools for Claude, Copilot, and Cursor to generate framework-compliant code, enhancing developer productivity with AI-assisted workflows.

High Performance

Optimized for speed and efficiency, with benchmarks showing strong performance in Go web framework comparisons, making it suitable for high-load scenarios.

Cons

Opinionated Workflow

The framework enforces a specific structure and relies heavily on goctl for code generation, which can be restrictive for teams wanting more flexibility or custom architectures.

Learning Curve

New users must learn the .api syntax, goctl commands, and AI tooling integration, adding initial overhead compared to simpler Go frameworks like Gin or Echo.

Ecosystem Dependency

Adopting go-zero means committing to its toolchain and patterns, potentially creating vendor lock-in and making migration to other frameworks more difficult.

Frequently Asked Questions

Quick Stats

Stars33,075
Forks4,300
Contributors0
Open Issues141
Last commit5 days ago
CreatedSince 2020

Tags

#high-availability#microservice#cli-tool#resilience#restful-api#golang#microservices#web-framework#rpc#rpc-framework#go#code-generation#service-mesh#restful#cloud-native

Built With

G
Go
D
Docker

Links & Resources

Website

Included in

Go169.1kMicroservices14.2k
Auto-fetched 1 day ago

Related Projects

GinGin

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

Stars88,633
Forks8,627
Last commit5 days ago
go-kitgo-kit

A standard library for microservices.

Stars27,428
Forks2,442
Last commit1 year ago
KratosKratos

Your ultimate Go microservices framework for the cloud-native era.

Stars25,724
Forks4,160
Last commit3 days ago
IrisIris

The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:

Stars25,581
Forks2,432
Last commit4 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub