Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 213 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 213 Bytes

Generic Go Template funcs

Usage:

import ( 
    "github.com/gpmd/gotemplate"
)

func main() {
    gotemplate.Template("{{(xml_decode .).mycode}}", "<?xml version=\"1.0\"?><mycode>MYCODE</mycode>")
}