go-zero
go-zero is a web and rpc framework that integrates various engineering practices.Flexible design guarantees stability at the same end and undergoes a full operational test.
[
go-zero accelerates development from requirements to deployment

go-zero contains very simple API definitions and generation tools goctl. Can generate Go, iOS, Android, Kotlin, Dart, TypeScript, JavaScript code based on defined api files and can be run directly.
Start tutorial
]($736db2e846a210d8.md)[


Get Started
Here’s more advanced and comprehensive usage than basic tasks
]($85f1d2c3a3acdee4.md)[


Components
A deeper understanding of how the framework works
](https://go-zero.dev/en/docs/components/limiter/token)
Architecture

Framework design
Easy access to stability to support tens of millions of days of living services, end-to-timeout controls, limited flow, adaptive smelting, adaptive downloading capabilities such as microservices without configuration and extra code. Micro-service governance middleware can be seamlessly integrated into other existing frameworks, abbreviated API descriptions, one-click generation of end codes, auto-calibration of client requests parameters and a large number of microservice governance and parallel toolkits.
Framework Features
Powerful tool support, minimum code writing, very simple interfaces, fully compatible net/http, supports intermediaries, easy expansion, high performance, troubleshooting, adaptive design, internal service discovery, load balance, internal build limit flow, melting, downloading and automatic trigger, automatic recovery, API parameter auto, timebound control, auto-cache control, link tracking, statistical alert, etc., high and supported in order to stabilize daily flow peaks during the epidemic.
Code Autogenerate
go-zero contains very simple API definitions and generation tools goctl. Can generate Go, iOS, Android, Kotlin, Dart, TypeScript, JavaScript code based on defined api files and can be run directly.
goctl -hA cli tool to generate api, gRPC, model codeGitHub: https://github.com/zeromicro/go-zeroSite: https://go-zero.devUsage:goctl [command]Available Commands:api Generate api related filesbug Report a bugcompletion Generate the autocompletion script for the specified shelldocker Generate Dockerfileenv Check or edit goctl environmenthelp Help about any commandkube Generate kubernetes filesmigrate Migrate from tal-tech to zeromicromodel Generate model codequickstart quickly start a projectrpc Generate rpc codetemplate Template operationupgrade Upgrade goctl to latest versionFlags:-h, --help help for goctl-v, --version version for goctlUse "goctl [command] --help" for more information about a command.
Users









































































































