text/template/parse.NumberNode.IsFloat (field)
10 uses
text/template/parse (current package)
node.go#L619: IsFloat bool // Number has a floating-point value.
node.go#L644: n.IsFloat = true
node.go#L682: n.IsFloat = true
node.go#L685: n.IsFloat = true
node.go#L695: n.IsFloat = true
node.go#L708: if !n.IsInt && !n.IsUint && !n.IsFloat {
node.go#L717: n.IsFloat = imag(n.Complex128) == 0
node.go#L718: if n.IsFloat {
text/template
exec.go#L506: case constant.IsFloat &&
exec.go#L885: if n, ok := n.(*parse.NumberNode); ok && n.IsFloat {
![]() |
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. |