func NewFuncMap() template.FuncMap {
	return template.FuncMap{
		"type":            typeFunc,
		"rawType":         rawTypeFunc,
		"zeroValue":       zeroValueFunc,
		"prependToFields": prependToFields,
		"fileHeaders":     fileHeadersFunc,
		"isType":          isTypeFunc,
	}
}
NewFuncMap returns a template func map
package nero
import (
	"fmt"
	"reflect"
	"text/template"
	"github.com/sf9v/mira"
)
type Template interface {
	Filename() string
	Content() string
}
func ParseTemplate(t Template) (*template.Template, error) {
	return template.New(t.Filename() + ".tmpl").
		Funcs(NewFuncMap()).Parse(t.Content())
}