text/template/parse.Tree.ErrorContext (method)
4 uses
text/template/parse (current package)
parse.go#L140: func (t *Tree) ErrorContext(n Node) (location, context string) {
text/template
exec.go#L133: location, context := s.tmpl.ErrorContext(s.node)
github.com/google/safehtml/template
error.go#L266: loc, _ := (*parse.Tree)(nil).ErrorContext(e.Node)
html/template
error.go#L219: loc, _ := (*parse.Tree)(nil).ErrorContext(e.Node)
![]() |
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. |