Skip to content
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

html/template: Provide an example of loading a template from a file and executing it. #8500

Closed
gopherbot opened this issue Aug 9, 2014 · 2 comments

Comments

@gopherbot
Copy link

by kburkeorg:

Most websites store their templates in files on disk. It would be convenient if the
documentation provided an example with template data stored in a file, then loaded into
memory and executed with variables and a byte buffer.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-none, documentation.

@bradfitz bradfitz removed the new label Dec 18, 2014
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@gopherbot
Copy link
Author

CL https://golang.org/cl/21854 mentions this issue.

@golang golang locked and limited conversation to collaborators Apr 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants