Open fwhezfwhez opened 4 years ago
c.FullPath() output incorrect relative path
c.FullPath()
func HTTPRouter(r gin.IRouter) { r.GET("/fullpathadfaadfaf", func(c *gin.Context) { fmt.Println(c.FullPath()) }) }
curl http://localhost:9112/local/api/fullpathadfaadfaf output:
curl http://localhost:9112/local/api/fullpathadfaadfaf
/local/api/fk-exchange-shop-backup/ // this is another router
No recurrence.
Description
c.FullPath()
output incorrect relative pathHow to reproduce
curl http://localhost:9112/local/api/fullpathadfaadfaf
output:Environment