Is it possible to run all the HTTP requests from my program through something like proxymesh.com? I've looked around but I haven't been able to find anything.
评论:
joefitzgerald:
gohacker:Yep, set the HTTP_PROXY environment variable.
https://golang.org/pkg/net/http/#Transport
