[x/go.dev] cmd/internal/tmplfunc: copy of rsc.io/tmplfunc

Package tmplfunc makes it possible to invoke other templates as if they
were functions, which greatly streamlines the use of sub-templates.

Making a copy avoids a dependency on an unreviewed personal repo.
Perhaps at some point in the future the main template package will
provide something like this functionality, and then we can remove this.

Change-Id: I67fd7ea159a47e8620793f0aca85e77432a5c45c
X-GoDev-Commit: 209d65474a5a6b6c25c7a7ab8fa9537702c69070
10 files changed
tree: 020092ac1ab9ab5fd4962f9eabad33d2bf695dd0
  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.