tpl: Support text/template/parse API change in go1.11
authorAnthony Fok <foka@debian.org>
Wed, 13 Jun 2018 13:33:59 +0000 (07:33 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 14 Jun 2018 06:58:42 +0000 (08:58 +0200)
commit9f27091e1067875e2577c331acc60adaef5bb234
treeda70dbe6437cd17b2e154c3b7fcc95e4617a5248
parent187621ae2427094a48b7ca8c6674cf49fd1b9fd5
tpl: Support text/template/parse API change in go1.11

Thanks to @rjoleary for the investigation.

Fixes #4784
tpl/tplimpl/template_ast_transformers.go
tpl/tplimpl/template_ast_transformers_go1_10.go [new file with mode: 0644]
tpl/tplimpl/template_ast_transformers_go1_11.go [new file with mode: 0644]