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

mux: support multiple url partitions #480

Open
komuw opened this issue Oct 17, 2024 · 1 comment · May be fixed by #481
Open

mux: support multiple url partitions #480

komuw opened this issue Oct 17, 2024 · 1 comment · May be fixed by #481

Comments

@komuw
Copy link
Owner

komuw commented Oct 17, 2024

mux.NewRoute("/blogs/:someDir/:file", mux.MethodGet, someHandler()),

@komuw
Copy link
Owner Author

komuw commented Oct 18, 2024

We say that one pattern is more specific than another if it matches a strict subset of requests. 
The pattern /posts/latest is more specific than /posts/{id} because the latter matches every 
request that the former does, and more.

@komuw komuw linked a pull request Oct 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant