Top 5.8% dependent packages on proxy.golang.org
Top 2.1% dependent repos on proxy.golang.org
Top 2.2% docker downloads on proxy.golang.org
proxy.golang.org : github.com/bluekeyes/templatetree
Package templatetree loads standard library templates in a way that creates a template hierarchy with inheritance. Templates extend other templates by placing a special comment as the first line of the template. Template trees may be arbitrarily deep and multiple independent tree can be loaded at the same time. The comment marking extension must be the first line of the template and must exactly match the following, including whitespace: If loading from a file system, a template's name is its slash-separated file path relative to the root. If parsing a map of files, the key sets the template's name. To define functions or set other options on the templates, provide a custom factory function.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/bluekeyes/templatetree
Keywords:
golang
, inheritance
, templates
License: MIT
Latest release: almost 3 years ago
First release: over 5 years ago
Namespace: github.com/bluekeyes
Dependent packages: 1
Dependent repositories: 6
Stars: 0 on GitHub
Forks: 1 on GitHub
Docker dependents: 1
Docker downloads: 13
See more repository details: repos.ecosyste.ms
Last synced: about 19 hours ago