levigross / grequests

A Go "clone" of the great and famous Requests library
Apache License 2.0
2.14k stars 138 forks source link

Export Response struct #88

Open PeerXu opened 4 years ago

PeerXu commented 4 years ago

grequests is a great http client library. I like to use it to replace golang default http client. But in some case, I want to build Response from http.Response. I could not to find any way to do this. So, it is any way to export buildResponse function or create new function call BuildResponse?