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 shorten the distance from demand to offline

README - 图1

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

README - 图2

Get Started

Here’s more advanced and comprehensive usage than basic tasks

README - 图3

Components

A deeper understanding of how the framework works

Architecture

arch

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.

  1. goctl -h
  2. A cli tool to generate api, gRPC, model code
  3. GitHub: https://github.com/zeromicro/go-zero
  4. Site: https://go-zero.dev
  5. Usage:
  6. goctl [command]
  7. Available Commands:
  8. api Generate api related files
  9. bug Report a bug
  10. completion Generate the autocompletion script for the specified shell
  11. docker Generate Dockerfile
  12. env Check or edit goctl environment
  13. help Help about any command
  14. kube Generate kubernetes files
  15. migrate Migrate from tal-tech to zeromicro
  16. model Generate model code
  17. quickstart quickly start a project
  18. rpc Generate rpc code
  19. template Template operation
  20. upgrade Upgrade goctl to latest version
  21. Flags:
  22. -h, --help help for goctl
  23. -v, --version version for goctl
  24. Use "goctl [command] --help" for more information about a command.

Users

晓黑板

好未来

七牛云

keep

天翼云

lenovo

51CTO

又拍云

游族网络

得物

捞月狗

云犀

好特卖

玉数科技

千帆云

上班族

赛凌科技

三合通信

释空

优速云

量冠科技

中科生活

indochat

数赞

点购广场

英雄体育

时代脉搏网络

复杂美科技

优利特

智橙互动

鲸思智能科技

郑州众合互联

无变界科技

馨科智

亿景智联

扩博智能

深信服

胜软科技

高小鹿

飞视(苏州)数字技术

统信软件

鼎翰文化股份有限公司

茶码纹化

武汉沃柒科技有限公司

叮当跳动

simba innovation

安徽寻梦投资发展集团

README - 图52

README - 图53

README - 图54

README - 图55

README - 图56

README - 图57

晓黑板

好未来

七牛云

keep

天翼云

lenovo

51CTO

又拍云

游族网络

得物

捞月狗

云犀

好特卖

玉数科技

千帆云

上班族

赛凌科技

三合通信

释空

优速云

量冠科技

中科生活

indochat

数赞

点购广场

英雄体育

时代脉搏网络

复杂美科技

优利特

智橙互动

鲸思智能科技

郑州众合互联

无变界科技

馨科智

亿景智联

扩博智能

深信服

胜软科技

高小鹿

飞视(苏州)数字技术

统信软件

鼎翰文化股份有限公司

茶码纹化

武汉沃柒科技有限公司

叮当跳动

simba innovation

安徽寻梦投资发展集团

README - 图105

README - 图106

README - 图107

README - 图108

README - 图109

README - 图110