kataras / kataras/iris

How to customize the / segmentation rules of the controller? Or implement annotation routing

Open
#1,858 11 comments 0 reactions 0 assignees View on GitHub
🤔 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.