2018-09-02 06:24:19 +00:00
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<h1>goproxy.io</h1>
|
|
|
|
|
|
|
|
<p>A global proxy for go modules.</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>First, you will need to enable the Go Modules feature and configure Go to use the proxy.</p>
|
|
|
|
|
|
|
|
<h4>Bash:</h4>
|
|
|
|
<pre>export GOPROXY=https://goproxy.io</pre>
|
|
|
|
|
|
|
|
<h4>PowerShell:</h4>
|
|
|
|
<pre>$env:GOPROXY = "https://goproxy.io"</pre>
|
|
|
|
|
|
|
|
<p>Now, when you build and run your applications, go will fetch dependencies via goproxy.io.</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<i>Note: this proxy can't fetch your private repos of course.</i>
|
|
|
|
<br>
|
2018-09-03 08:45:45 +00:00
|
|
|
<i>Mail: admin@goproxy.io <a href="https://github.com/goproxyio/goproxy/issues/new">file issue</a></i>
|
2018-09-02 06:24:19 +00:00
|
|
|
</p>
|