We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the two following routes declared in my application:
router := httprouter.New() router.Handler("GET", "/meta/healthcheck", http.HandlerFunc(rts.HealthCheck)) router.Handler("GET", "/:an/pricing/prices/:sku/computed/:priceTable", http.HandlerFunc(rts.ComputePrice))
However, this is producing the following error:
panic: wildcard route ':an' conflicts with existing children in path '/:an/pricing/prices/:sku/computed/:priceTable'
From my understanding, I can't have both a parameter and a static value in the same path position, but I think this shouldn't be an issue.
The text was updated successfully, but these errors were encountered:
I think this is a duplicate for #183
Sorry, something went wrong.
No branches or pull requests
I have the two following routes declared in my application:
However, this is producing the following error:
From my understanding, I can't have both a parameter and a static value in the same path position, but I think this shouldn't be an issue.
The text was updated successfully, but these errors were encountered: