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

[REQ] Add support for golang std net/http mux #20900

Open
couryrr opened this issue Mar 16, 2025 · 3 comments
Open

[REQ] Add support for golang std net/http mux #20900

couryrr opened this issue Mar 16, 2025 · 3 comments

Comments

@couryrr
Copy link

couryrr commented Mar 16, 2025

Is your feature request related to a problem? Please describe.

There is no problem that I know of. The router is relying on gorilla mux or chi. As of 1.22 this can be done with the go standard library net/http.

Describe the solution you'd like

This should not be too much of a lift from what is currently there except that the go.mod would need to default to 1.22.

Describe alternatives you've considered

N/A

Additional context

Enhanced routing patterns

@wing328
Copy link
Member

wing328 commented Mar 16, 2025

This should not be too much of a lift from what is currently there except that the go.mod would need to default to 1.22.

for backward compatibility (go version < 1.22), we need an option to let users choose.

would you have a time to contribute a PR with your suggested enhancement?

@couryrr
Copy link
Author

couryrr commented Mar 16, 2025

I can indeed and already created a fork. I am not sure what the timeline will be though. Is there a good way to discuss some of the changes I am making? At the moment what I have added is stdmux for the routers to allow for the user to chose.

@wing328
Copy link
Member

wing328 commented Mar 16, 2025

what about opening a PR (draft) to start with and we can start the discussion on the implementation details?

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