proxy.golang.org : github.com/Eun/xtemplate
Package xtemplate provides a way to create text/template with a restricted set of functions. It includes functions from various standard library packages such as path, filepath, strings, os, and encoding/json. Users can specify which functions are allowed to be used in the templates, enhancing security and control. The package also provides a special "return" function to short-circuit template execution and return a value. This is useful for scenarios where you want to exit a template early with a specific value without rendering the rest of the template.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/%21eun/xtemplate
Keywords:
golang
, template
License: MIT
Latest release: 2 months ago
First release: 3 months ago
Namespace: github.com/Eun
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/Eun, https://liberapay.com/Eun, https://issuehunt.io/r/eun
Last synced: about 1 month ago