text/template/parse.NumberNode.Text (field)
8 uses
text/template/parse (current package)
node.go#L625: Text string // The original textual representation from the input.
node.go#L629: n := &NumberNode{tr: t, NodeType: NodeNumber, Pos: pos, Text: text}
node.go#L732: return n.Text
text/template
exec.go#L507: !isHexInt(constant.Text) && !isRuneInt(constant.Text) &&
exec.go#L508: strings.ContainsAny(constant.Text, ".eEpP"):
exec.go#L514: s.errorf("%s overflows int", constant.Text)
exec.go#L519: s.errorf("%s overflows int", constant.Text)
![]() |
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. |