chore: revert GolangBinMetadata name and make analogous GolangModMetadata (#1458)

This commit is contained in:
Keith Zantow
2023-01-13 16:46:12 -05:00
committed by GitHub
parent 641bccc79b
commit 934644232a
19 changed files with 1730 additions and 87 deletions
@@ -366,7 +366,7 @@ func extractMetadata(p *spdx.Package, info pkgInfo) (pkg.MetadataType, interface
h1Digest = digest
break
}
return pkg.GolangMetadataType, pkg.GolangMetadata{
return pkg.GolangBinMetadataType, pkg.GolangBinMetadata{
H1Digest: h1Digest,
}
}