feat(aa): update templates to last struct changes.

This commit is contained in:
Alexandre Pujol 2024-06-29 22:33:45 +01:00
parent 4e1b972ee5
commit 8377dde5d2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 51 additions and 16 deletions

View file

@ -7,11 +7,10 @@
{{- if .Owner -}}
{{- "owner " -}}
{{- end -}}
{{- .Padding 2 -}}
{{- .Path -}}
{{- " " -}}
{{- with .Padding -}}
{{ . }}
{{- end -}}
{{- .Padding 3 -}}
{{- range .Access -}}
{{- . -}}
{{- end -}}
@ -19,9 +18,7 @@
{{ " -> " }}{{ . }}
{{- end -}}
{{- "," -}}
{{- with .Suffix -}}
{{ . }}
{{- end -}}
{{- .Padding 4 -}}
{{- template "comment" . -}}
{{- end -}}
@ -30,18 +27,18 @@
{{- if .Owner -}}
{{- "owner " -}}
{{- end -}}
{{- .Padding 2 -}}
{{- "link " -}}
{{- if .Subset -}}
{{- "subset " -}}
{{- end -}}
{{- .Padding 3 -}}
{{- .Path -}}
{{- " " -}}
{{- with .Target -}}
{{ "-> " }}{{ . }}
{{- end -}}
{{- "," -}}
{{- with .Suffix -}}
{{ . }}
{{- end -}}
{{- .Padding 4 -}}
{{- template "comment" . -}}
{{- end -}}