-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(net/ghttp): remove Req/Res
suffix limitation for input/output parameters of strict router handler
#3848
Conversation
什么原因导致要移除呢?不要做一个善变的 |
What is the reason for removal? Don't be a fickle 'difficult person' |
@gqcn 为啥要移除呢? Difficult person? |
@gqcn Why should we remove it? Difficult person? |
@houseme @oldme-git 我反思,总感觉一个通用的 |
@houseme @oldme-git I'm so annoyed. I always feel that it's not necessary for a general |
@gqcn 还是别改来改去的,大家都用习惯了 |
@gqcn It’s better not to change it again and again, everyone is used to it. |
老不正经了,善变的娃 |
You're too old to be serious, you're a fickle kid. |
支持。应该去掉没有必要的限制。有这个习惯的用户可以继续这样命名。 |
support. Unnecessary restrictions should be removed. Users who have this habit can continue to name them this way. |
gen service 必须以 s 开头是不是也可以去掉。 |
gen service must start with s. Can it be removed? |
|
The |
可否采用 AST 方案,获取接收器。可能有些接收器不需要导出,这里还要再想想。 |
Is it possible to use AST scheme to obtain the receiver struct. |
ssh 这个毕竟还是少量或特殊状态 |
After all, ssh is still a small amount or a special state. |
ssh 当然特殊,我举例子肯定举最能说明问题的例子,其他以 s 开头的单词很多。 |
Of course, ssh is special. When I give an example, I will definitely give the one that best illustrates the problem. There are many other words starting with s. |
@houseme @oldme-git 随着使用的用户越来越多,我们的基础组件应该更具有开放性,不应该在基础组件上做一些毫无意义的规范性的命名强限制。我是这么理解的。 |
@houseme @oldme-git As more and more users use it, our basic components should be more open and should not impose some meaningless normative naming restrictions on basic components. That's how I understand it. |
对,基础组件要有包容性。你们认为好的规范,可以作为最佳实践发布,供有需要的人选择。 |
Yes, the basic components must be inclusive. The specifications you think are good can be released as best practices for those who need them to choose from. |
朋友们,如果觉得可以就点个同意吧,有不同意见可以一起讨论。 |
Friends, if you think you can agree, please agree. If you have different opinions, you can discuss them together. |
@gqcn 可以把 |
@gqcn You can remove |
我觉得行。 |
I think it works. |
目前用着挺顺手的,习惯了,平常也这么要求大家遵守的。不强制也没关系,希望修改后gf gen不出新的BUG。 |
It's pretty easy to use now, I'm used to it, and I usually ask everyone to abide by it. It doesn’t matter if it’s not mandatory. I hope gf gen won’t cause new bugs after the modification. |
No description provided.