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
@@ -331,7 +331,7 @@ func toPackageChecksums(p pkg.Package) ([]common.Checksum, bool) {
})
}
}
case pkg.GolangMetadata:
case pkg.GolangBinMetadata:
// because the H1 digest is found in the Golang metadata we cannot claim that the files were analyzed
algo, hexStr, err := util.HDigestToSHA(meta.H1Digest)
if err != nil {