Skip to content

Commit

Permalink
remove more
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh committed Jun 10, 2024
1 parent 2ceaa89 commit 065b56d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ linters:
disable:
- errcheck
- depguard
- deadcode
4 changes: 0 additions & 4 deletions internal/sbom/sbom.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ func modulePackageName(mod *debug.Module) string {
mod.Version)
}

func bomRef(mod *debug.Module) string {
return fmt.Sprintf("pkg:golang/%s@%s?type=module", mod.Path, mod.Version)
}

func goRef(mod *debug.Module) string {
path := mod.Path
// Try to lowercase the first 2 path elements to comply with spec
Expand Down

0 comments on commit 065b56d

Please sign in to comment.