aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Fleischman <danielfleischman@gmail.com>2010-06-30 19:57:26 -0700
committerRuss Cox <rsc@golang.org>2010-06-30 19:57:26 -0700
commit040f08184294daee78bea0d193aea945b1835be9 (patch)
treec994600fe58f1ed450cad3372f54df06c99169f9
parent0bf413ab8e24fd0c19c14782278fc94aa2d0de18 (diff)
downloadgo-040f08184294daee78bea0d193aea945b1835be9.tar.gz
go-040f08184294daee78bea0d193aea945b1835be9.zip
template: fix typo in doc comment
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/1665047
-rw-r--r--src/pkg/template/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/template/template.go b/src/pkg/template/template.go
index 334559c13c..a615b7b418 100644
--- a/src/pkg/template/template.go
+++ b/src/pkg/template/template.go
@@ -54,7 +54,7 @@
map passed to the template set up routines or in the default
set ("html","str","") and is used to process the data for
output. The formatter function has signature
- func(wr io.Write, data interface{}, formatter string)
+ func(wr io.Writer, data interface{}, formatter string)
where wr is the destination for output, data is the field
value, and formatter is its name at the invocation site.
*/