I just wrote a REST handler using the gin-gonic infrastructure. So far everything is fine.
Now I’m looking for a framework which I can use to test my REST handler. I found httpmock in different forks which looks pretty good. But there is no support for url parameters
I found https://github.com/jarcoal/httpmock/issues/38 which describes exactly my issue and then created my own fork on https://github.com/framps/httpmock but frankly - this is a common issue. So I’m wondering whether somebody knows of a mock library which supports url parameters. I’m hesitating to reinvent the wheel which I expect to exist already