https://github.com/gomatic/funcmap
Go template functions
https://github.com/gomatic/funcmap
function map template
Last synced: 7 months ago
JSON representation
Go template functions
- Host: GitHub
- URL: https://github.com/gomatic/funcmap
- Owner: gomatic
- License: gpl-3.0
- Created: 2017-02-01T19:34:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T02:15:07.000Z (about 3 years ago)
- Last Synced: 2024-06-18T21:48:03.772Z (almost 2 years ago)
- Topics: function, map, template
- Language: Go
- Size: 222 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# funcmap
[](https://travis-ci.org/gomatic/funcmap)
Go template functions.
import "github.com/gomatic/funcmap"
...
template.New(name).
Funcs(funcmap.Map).
Parse(templateSource).
Execute(&result, templateVariables)