commit | 538f1d17149f6c47f8e4794e1fb6c64b8af2318d | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@google.com> | Mon May 24 22:28:01 2021 -0400 |
committer | Russ Cox <rsc@google.com> | Mon May 24 23:12:13 2021 -0400 |
tree | e5fef66617cd024ba3d5a16333c58dacc7e22c75 | |
parent | 0c5a52a33e86d1d428ff9fd0e0be0605a61bc6fd [diff] |
[x/go.dev] cmd/internal: add forked copies of Go 1.17+ text/template and html/template The most pressing need is a fixed eq that will ship in Go 1.17, which allows comparing an interface nil against a string, as in (eq .notavailable "hello"). It also has pending Go 1.18 features break/continue and short-circuit and/or, which are likely to be useful. It has the io/fs-based APIs from Go 1.16 removed, since App Engine does not yet support io/fs. Since we already had a copy of text/template/parse as tmplfunc/internal/parse, changed tmplfunc to use the copy being imported here. Change-Id: I4619db1846c3002de38ae26f277b12e7041883b9 X-GoDev-Commit: 6f3361e314ab1d286011d8fc26e8ea4482415ec7
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 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.