]> Cypherpunks repositories - gostls13.git/commit
html/template, text/template: clarify Parse{Files,Glob} semantics
authorAndrew Gerrand <adg@golang.org>
Mon, 11 Apr 2016 01:14:53 +0000 (11:14 +1000)
committerAndrew Gerrand <adg@golang.org>
Fri, 22 Apr 2016 02:01:54 +0000 (02:01 +0000)
commit7085fb31dfb1a6b447a139064a4a692677284132
tree0bebfe425a8bc8506778a800861a86e810d37bcf
parentb563fcfabba559646b42b0ff2066fc98042d8a8a
html/template, text/template: clarify Parse{Files,Glob} semantics

Document the subtle property that files with equivalent base names
will overwrite extant templates with those same names.

Fixes golang/go#14320

Change-Id: Ie9ace1b08e6896ea599836e31582123169aa7a25
Reviewed-on: https://go-review.googlesource.com/21824
Reviewed-by: Rob Pike <r@golang.org>
src/html/template/template.go
src/text/template/helper.go