Replace string with variable for golang proxy : <p>I'm trying to use the http proxy code here </p>

<pre><code>proxyUrl := url.Parse(strings.Replace("%v", RandomProxyAddress()))
http.DefaultTransport = &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}
</code></pre>

<p>Tells me there are too many arguments  in the url.Parse</p>

<p>But when I try </p>

<pre><code>proxyUrl := url.Parse(RandomProxyAddress())
http.DefaultTransport = &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}
</code></pre>

<p>I get <code>./main.go:138: multiple-value url.Parse() in single-value context</code></p>

<p>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</p>
