Golang 的 Gin 框架不支持 Restful风格的路由
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go
- Domain
- backend-api-design
Research direction
The issue describes a conflict between Gin routes /user/default and /user/:username, but names no project files or tests. Start by investigating Gin's routing behavior for these two routes; the issue says there is currently no solution, so the desired change and what counts as done need clarification.
Written by the indexing model from the issue text.
Description
像这样的路由是有冲突的
[GET] /user/default
[GET] /user/:username
这样导致URL很难高度自定义, 算是一个坑吧。
目前没有解决方案
- Dominant language
- No language data
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from axetroy/stackoverflow
-
IE 浏览器之 `import` 关键字 OpenIE浏览器 浏览器兼容性
Difficulty 1/5 Under an hour Newbie friendliness 35/100
axetroy/stackoverflow#31 · 1 comment ·
-
后端开发
Difficulty 5/5 Over a week Newbie friendliness 20/100
axetroy/stackoverflow#30 ·
-
Git 命令的输出会输出到 stderr Open其他
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
axetroy/stackoverflow#29 ·
-
移动端开发
Difficulty 5/5 Over a week Newbie friendliness 25/100
axetroy/stackoverflow#27 ·
-
后端开发
Difficulty 5/5 Over a week Newbie friendliness 25/100
axetroy/stackoverflow#25 ·
All issues in axetroy/stackoverflow
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100