Gin: How to support root level wildcard parameters in path?

Created on 18 Mar 2020  路  2Comments  路  Source: gin-gonic/gin

How do I achieve the following with Gin

router.GET("/: userHandle/*userAction", func(c *gin.Context) {
}

panic: wildcard route ': userHandle' conflicts with existing children in path '/:userHandle'

Most helpful comment

Anybody there? 36K stars!!!!! My ass.

All 2 comments

Anybody there? 36K stars!!!!! My ass.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wangcn picture wangcn  路  3Comments

olegsobchuk picture olegsobchuk  路  3Comments

rawoke083 picture rawoke083  路  3Comments

mdnight picture mdnight  路  3Comments

boneq picture boneq  路  3Comments