An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# funcmap

[![Build Status](https://travis-ci.org/gomatic/funcmap.svg?branch=master)](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)