Files
trivy/pkg/fanal/analyzer/language/golang/mod/testdata/no-go-sum.txtar

12 lines
350 B
Plaintext

Test case without go.sum file.
This tests that the analyzer works when only go.mod is present.
-- go.mod --
module github.com/org/repo
go 1.15
require github.com/aquasecurity/go-dep-parser v0.0.0-20211110174639-8257534ffed3
replace github.com/aquasecurity/go-dep-parser => github.com/aquasecurity/go-dep-parser v0.0.0-20230219131432-590b1dfb6edd