I'm trying to use the http proxy code here
proxyUrl := url.Parse(strings.Replace("%v", RandomProxyAddress()))
http.DefaultTransport = &http.Transport{Proxy: http.ProxyURL(proxyUrl)}
Tells me there are too many arguments in the url.Parse
But when I try
proxyUrl := url.Parse(RandomProxyAddress())
http.DefaultTransport = &http.Transport{Proxy: http.ProxyURL(proxyUrl)}
I get ./main.go:138: multiple-value url.Parse() in single-value context
When I tried a string replace it also tells me too many varibles. Not sure how to get my proxy to work with the url.Parse