Revert "tpl: Support text/template/parse API change in go1.11"
authorAnthony Fok <foka@debian.org>
Sat, 23 Jun 2018 21:07:52 +0000 (15:07 -0600)
committerAnthony Fok <foka@debian.org>
Sat, 23 Jun 2018 21:07:52 +0000 (15:07 -0600)
commit3d5928889ad74ff88b80354b791e3a4dfb84f278
tree6b8d5105a744f3c759587f949fe30dc5c9e96795
parentdc7bc7b4d2e1fe6feac153803420a56ed92cc014
Revert "tpl: Support text/template/parse API change in go1.11"

Go developers have undone the breaking API changes
in the following commit:

commit bedfa4e1c37bd08063865da628f242d27ca06ec4
Author: Daniel Theophanes <kardianos@gmail.com>
Date:   Thu Jun 21 10:41:26 2018 -0700

    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>

See https://github.com/golang/go/issues/25968

This reverts commit 9f27091e1067875e2577c331acc60adaef5bb234.

Closes #4784
Fixes #4873
tpl/tplimpl/template_ast_transformers.go
tpl/tplimpl/template_ast_transformers_go1_10.go [deleted file]
tpl/tplimpl/template_ast_transformers_go1_11.go [deleted file]