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

panic: conflict with wildcard route #136

Closed
blinkinglight opened this issue Oct 14, 2014 · 1 comment · Fixed by #2663
Closed

panic: conflict with wildcard route #136

blinkinglight opened this issue Oct 14, 2014 · 1 comment · Fixed by #2663

Comments

@blinkinglight
Copy link

how can i do this? by url path len
router.GET("/:b/:a", func(c *gin.Context) {
c.String(500, "1")
})
router.GET("/:c/:b/:a", func(c *gin.Context) {
c.String(500, "2")
})
router.GET("/:d/:c/:b/:a", func(c *gin.Context) {
c.String(500, "3")
})

@Thomasdezeeuw
Copy link

It should be an issue at https://github.com/julienschmidt/httprouter, since Gin uses that router.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants