-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: Conflicts with pattern when using NewServeMux #68838
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
Comments
/users/users would match both, so the pattern isn't allowed Closing as working as intended |
This was referenced Aug 23, 2024
This was referenced Sep 25, 2024
This was referenced Oct 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go version
go version go1.22.0 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
I expected this routing setup to work because routes below are not same. The
{ver}
is a dynamic hence adjustable by client.The text was updated successfully, but these errors were encountered: