1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:47:58 -07:00

template: refer HTML users to html/template

Fixes #2963.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5650051
This commit is contained in:
Rob Pike 2012-02-10 14:21:36 +11:00
parent 4152b43457
commit 0357af80b4

View File

@ -3,8 +3,10 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
/* /*
Package template implements data-driven templates for generating textual output Package template implements data-driven templates for generating textual output.
such as HTML.
To generate HTML output, see package html/template, which has the same interface
as this package but automatically secures HTML output against certain attacks.
Templates are executed by applying them to a data structure. Annotations in the Templates are executed by applying them to a data structure. Annotations in the
template refer to elements of the data structure (typically a field of a struct template refer to elements of the data structure (typically a field of a struct