Docs for route conflicts? #941
pesterhazy
started this conversation in
General
Replies: 1 comment
-
Made an experiment to determine the rules
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is the following behavior documented? I couldn't find it (searching for "conflict" and "precedence").
When I create two routes with the same method and path, which one will match?
It would be helpful to have clear docs for this case.
net/http
has a section on this topic: https://pkg.go.dev/net/http#hdr-PrecedenceBeta Was this translation helpful? Give feedback.
All reactions