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:
Andrew Bonventre 2018-01-24 21:48:19 -05:00
parent f86b507a7e
commit 25101aadb9
4 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ import (
const ( const (
currentVersionURL = "https://golang.org/VERSION?m=text" 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. // downloadGoVersion downloads and upacks the specific go version to dest/go.

View File

@ -14,7 +14,7 @@ import (
) )
const ( const (
base = "https://storage.googleapis.com/golang/getgo/" base = "https://dl.google.com/go/getgo/"
windowsInstaller = base + "installer.exe" windowsInstaller = base + "installer.exe"
linuxInstaller = base + "installer_linux" linuxInstaller = base + "installer_linux"
macInstaller = base + "installer_darwin" macInstaller = base + "installer_darwin"

View File

@ -180,7 +180,7 @@ function setupInlinePlayground() {
code.on('keyup', resize); code.on('keyup', resize);
code.keyup(); // resize now. code.keyup(); // resize now.
}; };
// If example already visible, set up playground now. // If example already visible, set up playground now.
if ($(el).is(':visible')) { if ($(el).is(':visible')) {
setup(); setup();
@ -284,7 +284,7 @@ function personalizeInstallInstructions() {
$('.testWindows').show(); $('.testWindows').show();
} }
var download = "https://storage.googleapis.com/golang/" + filename; var download = "https://dl.google.com/go/" + filename;
var message = $('<p class="downloading">'+ var message = $('<p class="downloading">'+
'Your download should begin shortly. '+ 'Your download should begin shortly. '+

View File

@ -766,7 +766,7 @@ function setupInlinePlayground() {
code.on('keyup', resize); code.on('keyup', resize);
code.keyup(); // resize now. code.keyup(); // resize now.
}; };
// If example already visible, set up playground now. // If example already visible, set up playground now.
if ($(el).is(':visible')) { if ($(el).is(':visible')) {
setup(); setup();
@ -870,7 +870,7 @@ function personalizeInstallInstructions() {
$('.testWindows').show(); $('.testWindows').show();
} }
var download = "https://storage.googleapis.com/golang/" + filename; var download = "https://dl.google.com/go/" + filename;
var message = $('<p class="downloading">'+ var message = $('<p class="downloading">'+
'Your download should begin shortly. '+ 'Your download should begin shortly. '+