-
Notifications
You must be signed in to change notification settings - Fork 17.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text/template: doesn't return template on lookup #10910
Labels
Milestone
Comments
@robpike I've the fix ready, I'll push the CL once you merge https://go-review.googlesource.com/#/c/10240/ |
CL https://golang.org/cl/10607 mentions this issue. |
Working as intended. There is no definition yet, just a name. This is a documentation issue. |
CL https://golang.org/cl/10641 mentions this issue. |
CL https://golang.org/cl/10622 mentions this issue. |
robpike
pushed a commit
that referenced
this issue
Jun 3, 2015
…emplates This is follow-up to CL10607 - Refactor AddParseTree() to use t.associate() - Refactor Parse() to use AddParseTree() to put entries into common structure - Clone() should not put entry in t.tmpl for undefined template - Clarify documentation for Templates() - Clarify documentation for AddParseTree() to include the error case Updates #10910 Uodates #10926 Includes test cases for most of the above changes Change-Id: I25b2fce6f9651272866f881acf44e4dbca04a4a8 Reviewed-on: https://go-review.googlesource.com/10622 Reviewed-by: Rob Pike <r@golang.org> Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
returns
on tip b21ff39
First line of output should not be
<nil>
The text was updated successfully, but these errors were encountered: