$
to access "root level" variables in golang templates
{{ range .items }}
{{ .variable }}
{{ $.variable }}
{{ end }}
Utworzony
3y
|
23 sty 2022, 18:40:48
Zaloguj się, aby dodać komentarz
$
to access "root level" variables in golang templates
{{ range .items }}
{{ .variable }}
{{ $.variable }}
{{ end }}