1
0
mirror of https://github.com/ko-build/ko.git synced 2024-11-19 18:01:46 +02:00

remove more

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2024-06-10 00:18:17 -04:00
parent 2ceaa89b7e
commit 065b56dc32
2 changed files with 0 additions and 5 deletions

View File

@ -27,4 +27,3 @@ linters:
disable:
- errcheck
- depguard
- deadcode

View File

@ -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