Discover Packages
libs.altipla.consulting
templates
package
Version:
v1.52.2
Opens a new window with list of versions in this module.
Published: Oct 13, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
README
¶
templates
Package templates
wraps the stdlib with helper functions for html/template to assist with common actions, i18n or assets versioning.
Install
import (
"libs.altipla.consulting/templates"
)
Contributing
You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt
.
Running tests
Run the tests:
make test
License
MIT License
Expand ▾
Collapse ▴
Documentation
¶
Package templates wraps the stdlib with helper functions for html/template to assist with common actions, i18n or assets versioning.
Load receives a list of globs and load every template that matches those folders.
All folders must have at least one template or it will fail the loading.
LoadFromReader loads a template from a reader.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.