example: golang.org/x/example/template Files

Command template

Command template is a trivial web server that uses the text/template (and html/template) package's "block" feature to implement a kind of template inheritance.

It should be executed from the directory in which the source resides, as it will look for its template files in the current directory.

Package Files


Package main imports 4 packages (graph). Updated 2021-01-15. Refresh now. Tools for package owners.