Thanks for the feedback! I love the httptest package, and use it all the time. I have seen some solutions that use this to mock the call, such as this great post by Pieter Claerhout: https://www.yellowduck.be/posts/mocking-a-http-server/
He's doing something similar with a custom HttpClient struct.
IMO either solution works great. I would love to see an example where you think this is done in an even cleaner way. I always love to learn more!
Thanks!