aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/text/template/parse
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-19 07:45:12 +1100
committerRob Pike <r@golang.org>2012-02-19 07:45:12 +1100
commit68b35b0852eaa90fb61ac4b28c0a3700efc7f762 (patch)
tree85882cac8ea0fc00a4a10c3e14eaeb612820dba1 /src/pkg/text/template/parse
parent253c139275d4997f466157dcfd0699bd6227751e (diff)
downloadgo-68b35b0852eaa90fb61ac4b28c0a3700efc7f762.tar.xz
templates: minor edits to the documentation
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5677084
Diffstat (limited to 'src/pkg/text/template/parse')
-rw-r--r--src/pkg/text/template/parse/parse.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pkg/text/template/parse/parse.go b/src/pkg/text/template/parse/parse.go
index 4da756657d..35194f7dfd 100644
--- a/src/pkg/text/template/parse/parse.go
+++ b/src/pkg/text/template/parse/parse.go
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Package parse builds parse trees for templates. The grammar is defined
-// in the documents for the template package.
+// Package parse builds parse trees for templates as defined by text/template
+// and html/template. Clients should use those packages to construct templates
+// rather than this one, which provides shared internal data structures not
+// intended for general use.
package parse
import (