]> Cypherpunks repositories - gostls13.git/commit
text/template/parse: undo breaking API changes
authorDaniel Theophanes <kardianos@gmail.com>
Thu, 21 Jun 2018 17:41:26 +0000 (10:41 -0700)
committerDaniel Theophanes <kardianos@gmail.com>
Fri, 22 Jun 2018 08:05:11 +0000 (08:05 +0000)
commitbedfa4e1c37bd08063865da628f242d27ca06ec4
tree24be31b8f4cecfcfc67c5e245c1210c521643465
parent4991bc6257a9e9d922f7b6e29e393d764c4e4295
text/template/parse: undo breaking API changes

golang.org/cl/84480 altered the API for the parse package for
clarity and consistency. However, the changes also broke the
API for consumers of the package. This CL reverts the API
to the previous spelling, adding only a single new exported
symbol.

Fixes #25968

Change-Id: Ieb81054b61eeac7df3bc3864ef446df43c26b80f
Reviewed-on: https://go-review.googlesource.com/120355
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
api/except.txt
src/html/template/escape.go
src/text/template/exec.go
src/text/template/parse/node.go
src/text/template/parse/parse.go