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

Help Wanted / 一起帮助提问者 #735

Closed
gqcn opened this issue Jun 15, 2020 · 2 comments
Closed

Help Wanted / 一起帮助提问者 #735

gqcn opened this issue Jun 15, 2020 · 2 comments

Comments

@gqcn
Copy link
Member

gqcn commented Jun 15, 2020

As GoFrame is a completely opened source project, we hope more people joining us and together building an active and nice community for ourself all. It is very appreciated if you helping these questioner with those issues marked as help wanted.

由于GoFrame是一个完全开源的项目,我们期望有更多的小伙伴能够加入进来,积极帮助其他有需要的小伙伴,相互帮助才能创造一个美好正能量的社区。GoFrame中有一些被标记为help wantedissue,可能是普通提问,也有可能是功能需求,如果您能够热心地帮助这些小伙伴,不仅能够参与到GoFrame项目贡献,也让够更多的小伙伴感受到社区的温暖,社区将对您的贡献不胜感激。

Help Wanted Issues: https://github.com/gogf/gf/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22

@gqcn gqcn pinned this issue Jun 15, 2020
@ic-timon
Copy link

开门送热水了

@gqcn
Copy link
Member Author

gqcn commented Mar 30, 2021

资源路由 create/show/update/list/delete
group.REST("admin",admin.Admin)
目前 资源路由只有Get Post Put Delete
资源路由我在实际使用的时候,REST注册提供的几种方式根本无法优雅的使用。

group.GET("admin",admin.Admin.Index)
group.POST("admin",admin.Admin.Storage)
group.GET("admin/{id}",admin.Admin.Show)
group.PUT("admin/{id}",admin.Admin.Update)
group.DELETE("admin/{id}",admin.Admin.Delete)

请不要在这里回复,有问题可以单独提issue。你这个问题首先应该考虑将什么定义为URI资源;其次框架设计上将对象当做一个URI资源,固定的HTTP Method作为处理方法,这便形成了一种开发规范,易于开发维护。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2023
@gqcn gqcn changed the title Help Wanted 一起帮助提问者 Help Wanted / 一起帮助提问者 Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants