[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
64 files changed
tree: e5fef66617cd024ba3d5a16333c58dacc7e22c75
  1. go.dev/
  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.