Go licenses as markdown template
This commit is contained in:
parent
d37958fc37
commit
614f15e1f1
12 changed files with 1064 additions and 1587 deletions
15
licenses/template.md
Normal file
15
licenses/template.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{ range . }}
|
||||
## {{ .Name }}
|
||||
|
||||
* Name: {{ .Name }}
|
||||
* Version: {{ .Version }}
|
||||
{{ if ne .LicenseURL "Unknown" }}
|
||||
* License: [{{ .LicenseName }}]({{ .LicenseURL }})
|
||||
{{ else }}
|
||||
* License: {{ .LicenseName }}
|
||||
{{ end }}
|
||||
|
||||
```
|
||||
{{ .LicenseText }}
|
||||
```
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue