feat(aa): update templates to last struct changes.
This commit is contained in:
parent
4e1b972ee5
commit
8377dde5d2
10 changed files with 51 additions and 16 deletions
|
|
@ -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 -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue