template.go
func New(template, startTag, endTag string) *Template {
	t, err := NewTemplate(template, startTag, endTag)
	if err != nil {
		panic(err)
	}
	return t
}
func New(template, startTag, endTag string) *Template {
	t, err := NewTemplate(template, startTag, endTag)
	if err != nil {
		panic(err)
	}
	return t
}
func New ( template , startTag , endTag string ) * Template { t , err := NewTemplate ( template , startTag , endTag ) if err != nil { panic ( err ) } return t }
// New parses the given template using the given startTag and endTag
// as tag start and tag end.
//
// The returned template can be executed by concurrently running goroutines
// using Execute* methods.
//
// New panics if the given template cannot be parsed. Use NewTemplate instead
// if template may contain errors.
New parses the given template using the given startTag and endTag as tag start and tag end . The returned template can be executed by concurrently running goroutines using Execute * methods . New panics if the given template cannot be parsed . Use NewTemplate instead if template may contain errors .