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

Named routes #54

Open
cking opened this issue Jan 21, 2017 · 2 comments
Open

Named routes #54

cking opened this issue Jan 21, 2017 · 2 comments

Comments

@cking
Copy link

cking commented Jan 21, 2017

Would it be possible to add names (or tags) to routes and maybe a route generator.

Instead of manually writing routes for redirects in my code, I'd prefer to call something like router.Generate(name string, params map[string]string)

@husobee
Copy link
Owner

husobee commented Jan 22, 2017

Good idea. Will investigate, unless you would like to PR this functionality.

@cking
Copy link
Author

cking commented Jan 22, 2017

I am right now busy with my project, but I can start on it in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants