Fix package name once again
This commit is contained in:
parent
324aeeb060
commit
62ac1ff4c3
7 changed files with 25 additions and 5 deletions
6
main.go
6
main.go
|
@ -1,7 +1,7 @@
|
|||
package git.frostfs.info/alexvanin/vulncheck-example
|
||||
package vulncheckexample
|
||||
|
||||
import "fmt"
|
||||
|
||||
func NopFunc(){
|
||||
func NopFunc() {
|
||||
fmt.Println("Hello World")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
module git.frostfs.info/alexvanin/vulncheck-example/unusedvulndep
|
||||
|
||||
go 1.22.0
|
||||
|
||||
require golang.org/x/crypto v0.16.0
|
||||
|
||||
require golang.org/x/sys v0.15.0 // indirect
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
|
||||
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
|
||||
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
|
||||
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
|
||||
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
|
|
@ -1,7 +1,7 @@
|
|||
// Unusedvulndep is a package that imports golang.org/x/crypto package
|
||||
// with vulnarability https://pkg.go.dev/vuln/GO-2023-2402 and provides
|
||||
// function that is not affected by vulnarability
|
||||
package git.frostfs.info/alexvanin/vulncheck-example/unusedvulndep
|
||||
package unusedvulndep
|
||||
|
||||
import (
|
||||
"golang.org/x/crypto/ssh"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
module git.frostfs.info/alexvanin/vulncheck-example/usedvulndep
|
||||
|
||||
go 1.22.0
|
||||
|
||||
require golang.org/x/crypto v0.16.0
|
||||
|
||||
require golang.org/x/sys v0.15.0 // indirect
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
|
||||
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
|
||||
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
|
||||
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
|
||||
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
|
|
@ -1,7 +1,7 @@
|
|||
// Usedvulndep is a package that imports golang.org/x/crypto package
|
||||
// with vulnarability https://pkg.go.dev/vuln/GO-2023-2402 and provides
|
||||
// function that affected by vulnarability
|
||||
package git.frostfs.info/alexvanin/vulncheck-example/usedvulndep
|
||||
package usedvulndep
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
|
Loading…
Reference in a new issue