$
to access "root level" variables in golang templates
{{ range .items }}
{{ .variable }}
{{ $.variable }}
{{ end }}
Creată
3y
|
23 ian. 2022, 18:40:48
Autentifică-te pentru a adăuga comentarii
$
to access "root level" variables in golang templates
{{ range .items }}
{{ .variable }}
{{ $.variable }}
{{ end }}