Mock for http.Clinet

Hi. I write my own REST client. Now the time has come to make mock and some tests. I have problem with http.Client because there is no interface and I dont know how to mock what is return by this type. Maybe someone from you has similar problem and solved it?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.