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

✨ [Feature] Optimize the backslash when using facades.Route().Prefix("/product") #408

Open
1 task done
hwbrzzl opened this issue May 14, 2024 · 1 comment
Open
1 task done

Comments

@hwbrzzl
Copy link
Contributor

hwbrzzl commented May 14, 2024

Before feedback (在反馈之前)

  • There are no features that I want to submit in Issues (当前 Issues 中没有我将要提交的新功能)

Describe Feature (描述功能)

In the case below:

facades.Route().Prefix("/product").Group(func(router route.Router) {
  router.Get("", func()...)
  router.Get("/{code}", func()...)
})

The first URL will be /product/, it's expected to change to /product.

Copy link

Hi @hwbrzzl 👋

We think your feedback is very valuable! If you are interested, please submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!
我们认为您的反馈非常有价值!如果有兴趣欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!

@kkumar-gcc kkumar-gcc assigned kkumar-gcc and unassigned kkumar-gcc May 25, 2024
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