content/static/doc: replace github.com with example.com in code.html

GitHub is remarkably permissive about usernames: 'github.com/user' is
an actual user, as is 'github.com/example'. We should not use those
paths, since those would make it easy to accidentally download remote
source code due to a typo.

In contrast, example.com is at least reserved by the IANA.

Change-Id: Iede134be4071434c47788e6dd8829cb78277a905
Reviewed-on: https://go-review.googlesource.com/c/website/+/217878
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2 files changed
tree: 1f0e09c9b460a08f8177cf6c6c8ddc87f4665e23
  1. cmd/
  2. content/
  3. internal/
  4. AUTHORS
  5. codereview.cfg
  6. CONTRIBUTING.md
  7. CONTRIBUTORS
  8. favicon.ico
  9. go.mod
  10. go.sum
  11. LICENSE
  12. PATENTS
  13. README.md
  14. robots.txt
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.