text/template/parse.Tree.vars (field)
11 uses
text/template/parse (current package)
parse.go#L31: vars []string // variables defined at the moment.
parse.go#L223: t.vars = []string{"$"}
parse.go#L231: t.vars = nil
parse.go#L427: t.vars = append(t.vars, v.val)
parse.go#L431: t.vars = append(t.vars, v.val)
parse.go#L480: defer t.popVars(len(t.vars))
parse.go#L740: t.vars = t.vars[:n]
parse.go#L747: for _, varName := range t.vars {
![]() |
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. |