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

xpbliss picture xpbliss  路  3Comments

nxvl picture nxvl  路  3Comments

mastrolinux picture mastrolinux  路  3Comments

wangcn picture wangcn  路  3Comments

frederikhors picture frederikhors  路  3Comments