Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit f4a8462

Browse files
suriyaabradfitz
authored andcommitted
gddo-server: use HTTPS protocol
Change-Id: Ic69e98d709640fe572ba3019f80d62dd7bd1a07d Reviewed-on: https://go-review.googlesource.com/118575 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent a154dc8 commit f4a8462

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

gddo-server/assets/templates/common.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h3 id="pkg-note-bug">Bugs <a class="permalink" href="#pkg-note-bug">&para;</a><
108108
{{.StatusDescription}}
109109
{{end}}
110110
{{with $.pdoc.Errors}}
111-
<p>The <a href="http://golang.org/cmd/go/#Download_and_install_packages_and_dependencies">go get</a>
111+
<p>The <a href="https://golang.org/cmd/go/#Download_and_install_packages_and_dependencies">go get</a>
112112
command cannot install this package because of the following issues:
113113
<ul>
114114
{{range .}}<li>{{.}}{{end}}

gddo-server/assets/templates/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h2>Search for Go Packages</h2>
77
{{template "SearchBox" ""}}
88
</div>
99

10-
<p>GoDoc hosts documentation for <a href="http://golang.org/">Go</a> packages
10+
<p>GoDoc hosts documentation for <a href="https://golang.org/">Go</a> packages
1111
on Bitbucket, GitHub, Google Project Hosting and Launchpad. Read the <a
1212
href="/-/about">About Page</a> for information about adding packages to GoDoc
1313
and more.

gddo-server/assets/templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<div id="x-footer" class="clearfix">
3535
<div class="container">
3636
<a href="https://github.com/golang/gddo/issues">Website Issues</a>
37-
<span class="text-muted">|</span> <a href="http://golang.org/">Go Language</a>
37+
<span class="text-muted">|</span> <a href="https://golang.org/">Go Language</a>
3838
<span class="pull-right"><a href="#">Back to top</a></span>
3939
</div>
4040
</div>

gddo-server/assets/templates/results.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="well">
55
{{template "SearchBox" .q}}
66
</div>
7-
<p>Try this search on <a href="http://go-search.org/search?q={{.q}}">Go-Search</a>
7+
<p>Try this search on <a href="https://go-search.org/search?q={{.q}}">Go-Search</a>
88
or <a href="https://github.com/search?q={{.q}}+language:go">GitHub</a>.
99
{{if .pkgs}}
1010
{{template "SearchPkgs" .pkgs}}

gddo-server/assets/templates/std.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
{{define "Body"}}
44
<h1>Go Standard Packages</h1>
55
{{template "Pkgs" .pkgs}}
6-
<p>View the official documentation at <a href="http://golang.org/pkg/">golang.org</a>.
6+
<p>View the official documentation at <a href="https://golang.org/pkg/">golang.org</a>.
77
{{end}}
88

gddo-server/assets/templates/tools.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ <h5>Markdown</h5>
1919

2020
{{if .pdoc.Name}}
2121
<h3>Lint</h3>
22-
<form name="x-lint" method="POST" action="http://go-lint.appspot.com/-/refresh"><input name="importPath" type="hidden" value="{{.pdoc.ImportPath}}"></form>
22+
<form name="x-lint" method="POST" action="https://go-lint.appspot.com/-/refresh"><input name="importPath" type="hidden" value="{{.pdoc.ImportPath}}"></form>
2323
<p><a href="javascript:document.getElementsByName('x-lint')[0].submit();">Run lint</a> on {{.pdoc.PageName}}.
2424

2525
{{if and (not .pdoc.IsCmd) (not .pdoc.Doc)}}
2626
<p>The {{.pdoc.Name}} package does not have a package declaration
2727
comment. See the <a
28-
href="http://blog.golang.org/godoc-documenting-go-code">Go
28+
href="https://blog.golang.org/godoc-documenting-go-code">Go
2929
documentation guidelines</a> for information on how to write a package
3030
comment. It's important to write a good summary of the package in the
3131
first sentence of the package comment. GoDoc indexes the first sentence

0 commit comments

Comments
 (0)