github.com/hairyhenderson/templater@v3.5.0+incompatible/funcs/doc.go (about) 1 /* 2 Package funcs is an internal package that provides gomplate namespaces and 3 functions to be used in 'text/template' templates. 4 5 The different namespaces can be added individually: 6 7 f := template.FuncMap{} 8 funcs.AddMathFuncs(f) 9 funcs.AddNetFuncs(f) 10 11 Even though the functions are exported, these are not intended to be called 12 programmatically by external consumers, but instead only to be used as template 13 functions. 14 15 */ 16 package funcs