1
0
mirror of https://github.com/golang/go synced 2024-11-13 19:20:31 -07:00

doc: remove paragraph about text/template/parse

The backwards incompatible changes were undone in CL 120355, while still
preserving the additions needed for assignments in templates to work.

Change-Id: Ie76a798916ef36509c88e171a04bb2cf2a3d7e8e
Reviewed-on: https://go-review.googlesource.com/124917
Reviewed-by: Andrew Bonventre <andybons@golang.org>
This commit is contained in:
Daniel Martí 2018-07-19 11:06:56 +01:00 committed by Andrew Bonventre
parent 2fe2aa0983
commit f3582de3a0

View File

@ -815,12 +815,6 @@ for k := range m {
{{"{{"}} end {{"}}"}}
v: {{"{{"}} $v {{"}}"}} {{"{{"}}/* "changed" */{{"}}"}}</pre>
<p>
This required backwards-incompatible changes to the <code>text/template/parse</code>
package, but was deemed acceptable since the package's documentation clearly states
that it isn't intended for general use.
</p>
<p><!-- CL 95215 -->
In previous versions untyped <code>nil</code> values passed to
template functions were ignored. They are now passed as normal