]> Cypherpunks repositories - gostls13.git/commitdiff
doc: remove paragraph about text/template/parse
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 19 Jul 2018 10:06:56 +0000 (11:06 +0100)
committerAndrew Bonventre <andybons@golang.org>
Thu, 19 Jul 2018 14:33:23 +0000 (14:33 +0000)
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>
doc/go1.11.html

index 3be9c40fc2e3bbc744b91487142bd23094c6b8ba..0266efa38673ae751be05e1ee8a461536abedf42 100644 (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