]> Cypherpunks repositories - gostls13.git/commit
html/template: add DefinedTemplates to html/template
authorRob Pike <r@golang.org>
Mon, 23 Nov 2015 20:43:17 +0000 (12:43 -0800)
committerRob Pike <r@golang.org>
Mon, 23 Nov 2015 22:11:16 +0000 (22:11 +0000)
commit009517e0b7fb085c87b474a32fc7701613d0c0d3
tree70eaf4247ebe3769dedc6247e0744344820868a5
parent656a732a217ee3ac4e6a6442072994e4dccb4094
html/template: add DefinedTemplates to html/template

It is not important to add, since it's only used for creating an error message,
but for consistency in the API between text/template and html/template
it should be provided here.

The implementation just calls the one in text/template.

Fixes #13349.

Change-Id: I0882849e06a58f1e38b00eb89d79ac39777309b2
Reviewed-on: https://go-review.googlesource.com/17172
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/html/template/template.go