mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
godoc,cmd/getgo: update download links to dl.google.com
Change-Id: Idd003c76edbf9d3ecf3354036e734386c55ed1f2 Reviewed-on: https://go-review.googlesource.com/89695 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
f86b507a7e
commit
25101aadb9
@ -22,7 +22,7 @@ import (
|
||||
|
||||
const (
|
||||
currentVersionURL = "https://golang.org/VERSION?m=text"
|
||||
downloadURLPrefix = "https://storage.googleapis.com/golang"
|
||||
downloadURLPrefix = "https://dl.google.com/go"
|
||||
)
|
||||
|
||||
// downloadGoVersion downloads and upacks the specific go version to dest/go.
|
||||
|
@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
base = "https://storage.googleapis.com/golang/getgo/"
|
||||
base = "https://dl.google.com/go/getgo/"
|
||||
windowsInstaller = base + "installer.exe"
|
||||
linuxInstaller = base + "installer_linux"
|
||||
macInstaller = base + "installer_darwin"
|
||||
|
@ -180,7 +180,7 @@ function setupInlinePlayground() {
|
||||
code.on('keyup', resize);
|
||||
code.keyup(); // resize now.
|
||||
};
|
||||
|
||||
|
||||
// If example already visible, set up playground now.
|
||||
if ($(el).is(':visible')) {
|
||||
setup();
|
||||
@ -284,7 +284,7 @@ function personalizeInstallInstructions() {
|
||||
$('.testWindows').show();
|
||||
}
|
||||
|
||||
var download = "https://storage.googleapis.com/golang/" + filename;
|
||||
var download = "https://dl.google.com/go/" + filename;
|
||||
|
||||
var message = $('<p class="downloading">'+
|
||||
'Your download should begin shortly. '+
|
||||
|
@ -766,7 +766,7 @@ function setupInlinePlayground() {
|
||||
code.on('keyup', resize);
|
||||
code.keyup(); // resize now.
|
||||
};
|
||||
|
||||
|
||||
// If example already visible, set up playground now.
|
||||
if ($(el).is(':visible')) {
|
||||
setup();
|
||||
@ -870,7 +870,7 @@ function personalizeInstallInstructions() {
|
||||
$('.testWindows').show();
|
||||
}
|
||||
|
||||
var download = "https://storage.googleapis.com/golang/" + filename;
|
||||
var download = "https://dl.google.com/go/" + filename;
|
||||
|
||||
var message = $('<p class="downloading">'+
|
||||
'Your download should begin shortly. '+
|
||||
|
Loading…
x
Reference in New Issue
Block a user