text/template.Template.Name (method)
19 uses
text/template (current package)
exec.go#L129: name := doublePercent(s.tmpl.Name())
exec.go#L137: Name: s.tmpl.Name(),
exec.go#L218: state.errorf("%q is an incomplete or empty template", t.Name())
helper.go#L82: if name == t.Name() {
template.go#L46: func (t *Template) Name() string {
github.com/google/safehtml/template
escape.go#L532: err: errorf(ErrOutputContext, t.Tree.Root, 0, "cannot compute output context for template %s", t.Name()),
escape.go#L547: if !e1.called[t.Name()] {
escape.go#L559: e.output[t.Name()] = c
escape.go#L759: if _, err := tmpl.text.AddParseTree(t.Name(), t.Tree); err != nil {
template.go#L255: name := v.Name()
template.go#L312: name := x.Name()
template.go#L374: return t.text.Name()
html/template
escape.go#L600: err: errorf(ErrOutputContext, t.Tree.Root, 0, "cannot compute output context for template %s", t.Name()),
escape.go#L615: if !e1.called[t.Name()] {
escape.go#L627: e.output[t.Name()] = c
escape.go#L812: if _, err := tmpl.text.AddParseTree(t.Name(), t.Tree); err != nil {
template.go#L202: name := v.Name()
template.go#L266: name := x.Name()
template.go#L328: return t.text.Name()
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |