$
to access "root level" variables in golang templates
{{ range .items }}
{{ .variable }}
{{ $.variable }}
{{ end }}
созданный
3y
|
23 янв. 2022 г., 18:40:48
Войдите, чтобы добавить комментарий
$
to access "root level" variables in golang templates
{{ range .items }}
{{ .variable }}
{{ $.variable }}
{{ end }}