We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Core framework
n/a
Currently multiplex routes are supported via:
f.Routes("/", http.MethodGet, http.MethodPost, <my handlers>) // or f.Routes("/", "GET,POST", ...)
But neither of are both elegant and type-safe.
Something like
f.RoutePath("/").Methods(http.MethodGet, http.MethodPost).Handlers(...)
Live with it
Derived from #113 (comment)
The text was updated successfully, but these errors were encountered:
http.MethodGet
http.MethodPost
f.Routes
Related in terms of underlying types: #132
Sorry, something went wrong.
unknwon
No branches or pull requests
Component
Core framework
Middleware
n/a
Is your feature request related to a problem? Please describe
Currently multiplex routes are supported via:
But neither of are both elegant and type-safe.
Describe the solution you'd like
Something like
Describe alternatives you've considered
Live with it
Additional context
Derived from #113 (comment)
Code of Conduct
The text was updated successfully, but these errors were encountered: