text/template/parse.TemplateNode.Line (field)
5 uses
text/template/parse (current package)
node.go#L941: Line int // The line number in the input. Deprecated: Kept for compatibility.
node.go#L947: return &TemplateNode{tr: t, NodeType: NodeTemplate, Pos: pos, Line: line, Name: name, Pipe: pipe}
node.go#L971: return t.tr.newTemplate(t.Pos, t.Line, t.Name, t.Pipe.CopyPipe())
github.com/google/safehtml/template
escape.go#L449: c, name := e.escapeTree(c, n, n.Name, n.Line)
html/template
escape.go#L538: c, name := e.escapeTree(c, n, n.Name, n.Line)
 |
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. |