github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/gosbom/formats/template/test-fixtures/csv-hasField.template (about)

     1  "Package","Version Installed","Found by","Author"
     2  {{- range .Artifacts}}
     3  "{{.Name}}","{{.Version}}","{{.FoundBy}}","{{ if hasField .Metadata "Author" }}{{.Metadata.Author}}{{ else }}NO AUTHOR SUPPLIED{{end}}"
     4  {{- end}}