Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add develop.md #77

Merged
merged 6 commits into from
Dec 13, 2024
Merged

add develop.md #77

merged 6 commits into from
Dec 13, 2024

Conversation

SchwarzSail
Copy link
Member

写到后面变成流水账了,帮我改改罢

@SchwarzSail SchwarzSail requested review from jiuxia211, ozline and a team as code owners November 4, 2024 06:07
@jiuxia211
Copy link
Contributor

结构图那边,网关是从etcd里获取服务对应的地址,然后去请求微服务的,网关 和 server 之间应该是有交互的,结构图没有体现这点

@jiuxia211
Copy link
Contributor

面向新手的文档 需要新手来看,可以让 @拽奇奇 看看

@ozline
Copy link
Member

ozline commented Nov 4, 2024

面向新手的文档 需要新手来看,可以让 @拽奇奇 看看

你这个没有@到,而且我估计他没有配置邮件通知,可能得私聊一下

@jiuxia211
Copy link
Contributor

面向新手的文档 需要新手来看,可以让 @拽奇奇 看看

你这个没有@到,而且我估计他没有配置邮件通知,可能得私聊一下

主要是我不知道他github id ,我的意思也是私聊一下

docs/develop.md Outdated
Comment on lines 106 to 118
#### 三层架构设计
显式将代码分为三层,分别是 Handler 层、服务层和数据层

以 `classroom` 为例
```bash
├── handler.go # handler 层
├── pack # 用于打包返回给 api 的数据, 只由 handler 调用
│ └── classroom.go
├── service
├── get_room.go # 服务函数实现
├── get_room_test.go # 对应函数的单测
└── service.go # 服务的定义与实现
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这得换成新的layout一下

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

新的?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你说呢,看看 README!

@ozline
Copy link
Member

ozline commented Nov 6, 2024

@SmilingSea 你可以看一下这份文档有没有哪里写的不行的,如果没啥问题的话周五就给他合入了

@SmilingSea
Copy link
Contributor

好的,这两天正在看这个文档,目前看起来没啥问题

Copy link
Member

@renbaoshuo renbaoshuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

能不能过一遍 prettier?

@SchwarzSail
Copy link
Member Author

@renbaoshuo cc

Copy link
Member

@renbaoshuo renbaoshuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 中英文标点混杂,典型例子:既有全角逗号也有半角逗号+空格;
  2. 行末要有标点,一句话的结束加句号,下面有命令/图表时加冒号;

@SchwarzSail
Copy link
Member Author

  1. 中英文标点混杂,典型例子:既有全角逗号也有半角逗号+空格;
  2. 行末要有标点,一句话的结束加句号,下面有命令/图表时加冒号;

逗号的问题应该解决了,但是句号和冒号我实在不知道怎么配置,有时间帮我改改罢🌹

@renbaoshuo
Copy link
Member

你在搞什么,怎么行都被截断了?

我这个 review 是让你人工改的,不是 prettier 规则(

@SchwarzSail
Copy link
Member Author

你在搞什么,怎么行都被截断了?

我这个 review 是让你人工改的,不是 prettier 规则(

我还以为是直接用 prettier💦

Copy link

codecov bot commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@@          Coverage Diff           @@
##             main     #77   +/-   ##
======================================
  Coverage        ?   2.75%           
======================================
  Files           ?     144           
  Lines           ?   22484           
  Branches        ?       0           
======================================
  Hits            ?     620           
  Misses          ?   21829           
  Partials        ?      35           
Flag Coverage Δ
unittest 2.75% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@ozline ozline requested a review from renbaoshuo December 13, 2024 01:45
@jiuxia211 jiuxia211 merged commit 93ba2c2 into west2-online:main Dec 13, 2024
7 checks passed
@ozline ozline mentioned this pull request Dec 13, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants