diff options
Diffstat (limited to 'libgo/go/text/template/template.go')
-rw-r--r-- | libgo/go/text/template/template.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/text/template/template.go b/libgo/go/text/template/template.go index 3b4f34b4db0..2246f676e65 100644 --- a/libgo/go/text/template/template.go +++ b/libgo/go/text/template/template.go @@ -159,6 +159,7 @@ func (t *Template) Delims(left, right string) *Template { } // Funcs adds the elements of the argument map to the template's function map. +// It must be called before the template is parsed. // It panics if a value in the map is not a function with appropriate return // type or if the name cannot be used syntactically as a function in a template. // It is legal to overwrite elements of the map. The return value is the template, |