Go licenses as markdown template

This commit is contained in:
William Bouzourène 2025-05-11 16:21:38 +02:00
parent d37958fc37
commit 614f15e1f1
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
12 changed files with 1064 additions and 1587 deletions

15
licenses/template.md Normal file
View file

@ -0,0 +1,15 @@
{{ range . }}
## {{ .Name }}
* Name: {{ .Name }}
* Version: {{ .Version }}
{{ if ne .LicenseURL "Unknown" }}
* License: [{{ .LicenseName }}]({{ .LicenseURL }})
{{ else }}
* License: {{ .LicenseName }}
{{ end }}
```
{{ .LicenseText }}
```
{{ end }}