commit | 058dd16452c50c329b22c94619075c5f5fd91ab7 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Thu Jan 02 12:17:23 2020 -0500 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Thu Jan 02 19:52:14 2020 +0000 |
tree | 25432cf2e8f17292d434efbba89037d3fff9c9a3 | |
parent | 3c8b7f99cadaa000e642595d0fabcd9ac496f335 [diff] |
content/static: generate constant 2019 copyright year The generated static.go file was created in 2019 in CL 156321, and it inherited the generator code from x/tools that uses today's year. There isn't a need to update the copyright year, so make it a constant. This change fixes the failing TestStaticIsUpToDate test in 2020, and prevents it from breaking in every future year. Fixes golang/go#36360 Updates golang/go#11811 Change-Id: Ie87b1219448f1e288539f95280492b4f95b76798 Reviewed-on: https://go-review.googlesource.com/c/website/+/213121 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This repository holds the Go Website server code and content.
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
.
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.