I want to have a parameter with slashes in the router in gin.
From what I gathered I can do this by adding a wildcard to the URL. For example: /api/v0/files/*addr
But this approach doesn't work if I want to have the addr in the middle of the URL and it returns this error catch-all routes are only allowed at the end of the path
. Like: /api/v0/*addr/files
I was wondering whether there is another way of having it?