# zero-damai
基于 go-zero 框架仿写的大麦 App 服务,旨在开发交流学习。
对应的后台服务 zero-damai-admin,可关注公众号回复获取项目权限:zero-damai-admin
## 依赖 go-zero 版本
| 工具名 | 版本 | 仓库地址 |
|-------|--------|---------------------------------------|
| goctl | v1.5.6 | https://github.com/zeromicro/go-zero |
特别鸣谢 go-zero 开源社区,官方地址:https://go-zero.dev/
## 开发步骤
说明:goctl 代码生成模板部分修改过,目录为:template/1.5.6,文件名带有“_backup”后缀的说明有修改过。
1、配置 go-zero 开发环境,详情请参考:https://go-zero.dev/docs/tasks/installation/goctl
2、拉取本仓库代码
```shell
# 拉取
git clone https://github.com/JopenChen/zero-damai.git
# 切换目录
cd zero-damai
# 加载依赖包
go mod tidy
```
3、修改配置文件
4、启动 RPC 服务
```shell
go run service.go -f etc/service.yaml
```
5、启动 API 服务
```shell
go run gateway.go -f etc/service.yaml
```
6、测试
## 设计指标
1、以 1 千万活跃用户量为基准;
2、仅考虑 APP 客户端。
## 项目架构概述
## 目录结构
## 数据库设计
## 公众号:Golang 进阶栈
<img height="100" src="doc/images/公众号二维码.jpg" title="Golang 进阶栈公众号二维码" width="100" alt="公众号二维码"/>
1、API 文档开放地址, 对话框回复:API 文档;
2、微信交流群,对话框回复:zero-damai;
3、zero-damai-admin 项目权限,对话框回复:zero-damai-admin。
没有合适的资源?快使用搜索试试~ 我知道了~
基于 go-zero 框架仿写的大麦 App 服务,旨在开发交流学习。.zip
共196个文件
go:110个
tpl:61个
api:8个
需积分: 5 0 下载量 178 浏览量
2024-05-23
17:16:30
上传
评论
收藏 170KB ZIP 举报
温馨提示
Go语言(也称为Golang)是由Google开发的一种静态强类型、编译型的编程语言。它旨在成为一门简单、高效、安全和并发的编程语言,特别适用于构建高性能的服务器和分布式系统。以下是Go语言的一些主要特点和优势: 简洁性:Go语言的语法简单直观,易于学习和使用。它避免了复杂的语法特性,如继承、重载等,转而采用组合和接口来实现代码的复用和扩展。 高性能:Go语言具有出色的性能,可以媲美C和C++。它使用静态类型系统和编译型语言的优势,能够生成高效的机器码。 并发性:Go语言内置了对并发的支持,通过轻量级的goroutine和channel机制,可以轻松实现并发编程。这使得Go语言在构建高性能的服务器和分布式系统时具有天然的优势。 安全性:Go语言具有强大的类型系统和内存管理机制,能够减少运行时错误和内存泄漏等问题。它还支持编译时检查,可以在编译阶段就发现潜在的问题。 标准库:Go语言的标准库非常丰富,包含了大量的实用功能和工具,如网络编程、文件操作、加密解密等。这使得开发者可以更加专注于业务逻辑的实现,而无需花费太多时间在底层功能的实现上。 跨平台:Go语言支持多种操作系统和平台,包括Windows、Linux、macOS等。它使用统一的构建系统(如Go Modules),可以轻松地跨平台编译和运行代码。 开源和社区支持:Go语言是开源的,具有庞大的社区支持和丰富的资源。开发者可以通过社区获取帮助、分享经验和学习资料。 总之,Go语言是一种简单、高效、安全、并发的编程语言,特别适用于构建高性能的服务器和分布式系统。如果你正在寻找一种易于学习和使用的编程语言,并且需要处理大量的并发请求和数据,那么Go语言可能是一个不错的选择。
资源推荐
资源详情
资源评论
收起资源包目录
基于 go-zero 框架仿写的大麦 App 服务,旨在开发交流学习。.zip (196个子文件)
order.api 5KB
user.api 5KB
performance_seat.api 3KB
performance_session.api 3KB
performance.api 3KB
login.api 1016B
gateway.api 515B
public.api 423B
.gitignore 605B
service.pb.go 159KB
service_grpc.pb.go 47KB
types.go 15KB
performance_model_gen.go 8KB
order_model_gen.go 8KB
user_model_gen.go 8KB
performance_session_model_gen.go 7KB
performance_seat_model_gen.go 7KB
performance_model_gen.go 7KB
performance_session_service.go 5KB
performance_seat_service.go 5KB
performance_service.go 5KB
order_service.go 4KB
user_service.go 4KB
routes.go 4KB
service.go 3KB
errx.go 3KB
test_service.go 3KB
performance_retrieve_logic.go 2KB
login_logic.go 2KB
user_add_logic.go 2KB
performance_retrieve_logic.go 2KB
performance_session_service_server.go 2KB
performance_seat_service_server.go 2KB
service.go 2KB
performance_service_server.go 2KB
order_service_server.go 1KB
user_service_server.go 1KB
response.go 1KB
service_context.go 1KB
user_add_logic.go 1KB
login_logic.go 977B
performance_session_retrieve_handler.go 830B
performance_session_update_handler.go 822B
performance_session_add_handler.go 810B
performance_seat_retrieve_handler.go 809B
performance_session_remove_handler.go 808B
performance_session_retrieve_logic.go 804B
performance_seat_update_handler.go 801B
performance_seat_remove_handler.go 790B
performance_seat_add_handler.go 789B
performance_retrieve_handler.go 782B
performance_seat_retrieve_logic.go 780B
performance_update_handler.go 773B
performance_session_remove_logic.go 767B
performance_session_update_logic.go 767B
performance_remove_handler.go 766B
performance_add_handler.go 761B
performance_session_add_logic.go 759B
performance_seat_remove_logic.go 746B
performance_seat_update_logic.go 746B
order_retrieve_handler.go 739B
performance_seat_add_logic.go 735B
user_retrieve_handler.go 732B
order_update_handler.go 731B
order_remove_handler.go 730B
performance_session_retrieve_logic.go 728B
performance_session_model.go 725B
user_remove_handler.go 724B
user_update_handler.go 724B
order_add_handler.go 719B
login_handler.go 708B
performance_seat_retrieve_logic.go 701B
performance_update_logic.go 698B
performance_remove_logic.go 698B
performance_session_update_logic.go 689B
performance_session_add_logic.go 688B
user_add_handler.go 686B
performance_add_logic.go 683B
performance_seat_model.go 680B
performance_session_remove_logic.go 675B
performance_seat_update_logic.go 665B
order_retrieve_logic.go 662B
performance_seat_add_logic.go 661B
performance_seat_remove_logic.go 654B
user_retrieve_logic.go 652B
order_remove_logic.go 638B
order_update_logic.go 638B
constant.go 637B
performance_update_logic.go 633B
user_update_logic.go 629B
user_remove_logic.go 629B
performance_remove_logic.go 626B
performance_add_logic.go 625B
performance_model.go 619B
order_add_logic.go 617B
order_retrieve_logic.go 611B
test_service_server.go 611B
performance_model.go 611B
service_context.go 604B
user_retrieve_logic.go 602B
共 196 条
- 1
- 2
资源评论
生瓜蛋子
- 粉丝: 3829
- 资源: 5969
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Docker-compose的Elasticsearch集群每个节点均是独立docker-compose配置而成源码.zip
- 目标检测-零售食品LOGO检测数据集-40000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 目标检测-零售食品LOGO检测数据集-30000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 目标检测-零售食品LOGO检测数据集-20000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 目标检测-零售食品LOGO检测数据集-10000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 基于GUI+MYSQL+JAVA图书管理系统文档说明+源码(高分大作业项目).zip
- 基于Qt使用C++实现图书管理系统源码+数据库(95分以上).zip
- 基于GUI+MYSQL+JAVA票务管理系统文档介绍+源码+数据库(高分大作业).zip
- Java项目-购物网站系统(java+Servlet+JSP+Mysql)
- 基于MC1496应用电路Multisim仿真源文件,Multisim10以上版本可打开运行.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功