func text/template/parse.IsEmptyTree
5 uses
text/template/parse (current package)
parse.go#L255: if tree == nil || IsEmptyTree(tree.Root) {
parse.go#L259: if !IsEmptyTree(t.Root) {
parse.go#L265: func IsEmptyTree(n Node) bool {
parse.go#L275: if !IsEmptyTree(node) {
text/template
template.go#L222: if old := t.tmpl[new.name]; old != nil && parse.IsEmptyTree(tree.Root) && old.Tree != nil {
![]() |
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. |