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:
parent
2ceaa89b7e
commit
065b56dc32
@ -27,4 +27,3 @@ linters:
|
||||
disable:
|
||||
- errcheck
|
||||
- depguard
|
||||
- deadcode
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user