add go.mod cataloger (#97)

This commit is contained in:
Alex Goodman
2020-07-23 08:17:30 -04:00
committed by GitHub
parent 265516682f
commit 44c69f1f91
12 changed files with 256 additions and 0 deletions
+8
View File
@@ -133,6 +133,14 @@ var cases = []struct {
"unicorn": "4.8.3",
},
},
{
name: "find golang modules",
pkgType: pkg.GoModulePkg,
pkgLanguage: pkg.Go,
pkgInfo: map[string]string{
"github.com/bmatcuk/doublestar": "v1.3.1",
},
},
}
func TestPkgCoverageImage(t *testing.T) {
@@ -0,0 +1,7 @@
module github.com/anchore/imgbom
go 1.14
require (
github.com/bmatcuk/doublestar v1.3.1
)