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

Document evaluation order for routes #297

Merged
merged 1 commit into from
Sep 22, 2017
Merged

Document evaluation order for routes #297

merged 1 commit into from
Sep 22, 2017

Conversation

mmdriley
Copy link
Contributor

Being able to depend on this order will make some of my applications easier to follow.

As far as I can tell, this describes the current behavior:

mux/mux.go

Lines 52 to 53 in 24fca30

// Routes to be matched, in order.
routes []*Route

@elithrar elithrar merged commit 3f19343 into gorilla:master Sep 22, 2017
@elithrar
Copy link
Contributor

Thanks @mmdriley

cdcooksey pushed a commit to cdcooksey/mux that referenced this pull request Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants