How to customize the / segmentation rules of the controller? Or implement annotation routing
Open
🤔 type:question
- Dominant language
- Go
- Stars
- 25.6k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
How to customize the / segmentation rules of the controller? Or implement annotation routing
It seems that the initial MVC routing is not what you want most of the time, because many times it is a path composed of several words. For example, getUserInfo mostly just wants to generate / userinfo
In most cases, live template is used to generate code, so writing in another function requires a lot of work. Can we customize this rule or have annotations to generate routes
Contributor guide
Assessment
This issue has not been assessed yet.