Package tmpl handles loading and rendering HTML templates in Go.
https://code.soquee.net/tmpl/
This patch adds tests for parsing from multiple filesystems to make sure that the previous filesystem is not overwritten, ignored, etc. and that errors are returned even if the filesystem being parsed is the last one to be parsed (ie. the first one added to the parse stack). Signed-off-by: Sam Whited <sam@samwhited.com> |
||
---|---|---|
.builds | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
tmpl.go | ||
tmpl_test.go |
README.md
tmpl
Package tmpl
handles loading and rendering HTML templates.
import (
"code.soquee.net/tmpl"
)
License
The package may be used under the terms of the BSD 2-Clause License a copy of
which may be found in the LICENSE
file.
Unless you explicitly state otherwise, any contribution submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.