text/template.state.vars (field)
14 uses
text/template (current package)
exec.go#L37: vars []variable // push-down stack of variable values.
exec.go#L49: s.vars = append(s.vars, variable{name, value})
exec.go#L54: return len(s.vars)
exec.go#L59: s.vars = s.vars[0:mark]
exec.go#L66: if s.vars[i].name == name {
exec.go#L67: s.vars[i].value = value
exec.go#L76: s.vars[len(s.vars)-n].value = value
exec.go#L82: if s.vars[i].name == name {
exec.go#L83: return s.vars[i].value
exec.go#L215: vars: []variable{{"$", value}},
exec.go#L417: newState.vars = []variable{{"$", dot}}
![]() |
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. |