[x/blog] blog: update code sample in the "Generating code" article

Fixes golang/go#20720.

Change-Id: Iabeadddba92d6d51f873d817446eb79f20694be6
GitHub-Last-Rev: bd9501d806e08aff6cf230d1490fee14e2ba5e6f
GitHub-Pull-Request: golang/blog#20
Reviewed-on: https://go-review.googlesource.com/c/blog/+/167763
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
X-Blog-Commit: 933f9aa4742a8ce65b9b4e3c4c7226744d3adb2e
1 file changed
tree: 7aae072d9e467952a2d2c18f22abb6c2fef3b7e0
  1. blog/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
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 time 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.