Skip to content

Go template functions

License

Notifications You must be signed in to change notification settings

gomatic/funcmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funcmap

Build Status

Go template functions.

import "github.com/gomatic/funcmap"

...

template.New(name).
    Funcs(funcmap.Map).
    Parse(templateSource).
    Execute(&result, templateVariables)