gddo-server: use HTTPS protocol
Change-Id: Ic69e98d709640fe572ba3019f80d62dd7bd1a07d
Reviewed-on: https://go-review.googlesource.com/118575
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/gddo-server/assets/templates/common.html b/gddo-server/assets/templates/common.html
index d472e00..ec903a5 100644
--- a/gddo-server/assets/templates/common.html
+++ b/gddo-server/assets/templates/common.html
@@ -108,7 +108,7 @@
{{.StatusDescription}}
{{end}}
{{with $.pdoc.Errors}}
- <p>The <a href="http://golang.org/cmd/go/#Download_and_install_packages_and_dependencies">go get</a>
+ <p>The <a href="https://golang.org/cmd/go/#Download_and_install_packages_and_dependencies">go get</a>
command cannot install this package because of the following issues:
<ul>
{{range .}}<li>{{.}}{{end}}
diff --git a/gddo-server/assets/templates/home.html b/gddo-server/assets/templates/home.html
index b0e3747..726f765 100644
--- a/gddo-server/assets/templates/home.html
+++ b/gddo-server/assets/templates/home.html
@@ -7,7 +7,7 @@
{{template "SearchBox" ""}}
</div>
-<p>GoDoc hosts documentation for <a href="http://golang.org/">Go</a> packages
+<p>GoDoc hosts documentation for <a href="https://golang.org/">Go</a> packages
on Bitbucket, GitHub, Google Project Hosting and Launchpad. Read the <a
href="/-/about">About Page</a> for information about adding packages to GoDoc
and more.
diff --git a/gddo-server/assets/templates/layout.html b/gddo-server/assets/templates/layout.html
index d69482e..cc6b5a7 100644
--- a/gddo-server/assets/templates/layout.html
+++ b/gddo-server/assets/templates/layout.html
@@ -34,7 +34,7 @@
<div id="x-footer" class="clearfix">
<div class="container">
<a href="https://github.com/golang/gddo/issues">Website Issues</a>
- <span class="text-muted">|</span> <a href="http://golang.org/">Go Language</a>
+ <span class="text-muted">|</span> <a href="https://golang.org/">Go Language</a>
<span class="pull-right"><a href="#">Back to top</a></span>
</div>
</div>
diff --git a/gddo-server/assets/templates/results.html b/gddo-server/assets/templates/results.html
index ad56976..9190658 100644
--- a/gddo-server/assets/templates/results.html
+++ b/gddo-server/assets/templates/results.html
@@ -4,7 +4,7 @@
<div class="well">
{{template "SearchBox" .q}}
</div>
- <p>Try this search on <a href="http://go-search.org/search?q={{.q}}">Go-Search</a>
+ <p>Try this search on <a href="https://go-search.org/search?q={{.q}}">Go-Search</a>
or <a href="https://github.com/search?q={{.q}}+language:go">GitHub</a>.
{{if .pkgs}}
{{template "SearchPkgs" .pkgs}}
diff --git a/gddo-server/assets/templates/std.html b/gddo-server/assets/templates/std.html
index 42463e0..eb4d731 100644
--- a/gddo-server/assets/templates/std.html
+++ b/gddo-server/assets/templates/std.html
@@ -3,6 +3,6 @@
{{define "Body"}}
<h1>Go Standard Packages</h1>
{{template "Pkgs" .pkgs}}
- <p>View the official documentation at <a href="http://golang.org/pkg/">golang.org</a>.
+ <p>View the official documentation at <a href="https://golang.org/pkg/">golang.org</a>.
{{end}}
diff --git a/gddo-server/assets/templates/tools.html b/gddo-server/assets/templates/tools.html
index d067942..53f31f9 100644
--- a/gddo-server/assets/templates/tools.html
+++ b/gddo-server/assets/templates/tools.html
@@ -19,13 +19,13 @@
{{if .pdoc.Name}}
<h3>Lint</h3>
- <form name="x-lint" method="POST" action="http://go-lint.appspot.com/-/refresh"><input name="importPath" type="hidden" value="{{.pdoc.ImportPath}}"></form>
+ <form name="x-lint" method="POST" action="https://go-lint.appspot.com/-/refresh"><input name="importPath" type="hidden" value="{{.pdoc.ImportPath}}"></form>
<p><a href="javascript:document.getElementsByName('x-lint')[0].submit();">Run lint</a> on {{.pdoc.PageName}}.
{{if and (not .pdoc.IsCmd) (not .pdoc.Doc)}}
<p>The {{.pdoc.Name}} package does not have a package declaration
comment. See the <a
- href="http://blog.golang.org/godoc-documenting-go-code">Go
+ href="https://blog.golang.org/godoc-documenting-go-code">Go
documentation guidelines</a> for information on how to write a package
comment. It's important to write a good summary of the package in the
first sentence of the package comment. GoDoc indexes the first sentence