diff options
| author | Can Eldem <celdem@gitlab.com> | 2020-06-04 08:53:19 +0000 |
|---|---|---|
| committer | Can Eldem <celdem@gitlab.com> | 2020-06-04 08:53:19 +0000 |
| commit | 834d7a4fdf3fd295386e4b12a31de81507d3a658 (patch) | |
| tree | b58db2991d16737d4942cad4b63949bc1330ba28 /spec/fixtures/expected/go/modules/v1.0.json | |
| parent | a49e935ee3e2e07d90da7c78b543a5592a3b1a4a (diff) | |
| parent | cd9cd852dac41980169f0521eb795e460994367b (diff) | |
Merge branch 'heila-license-go-fix' into 'master'v3.11.1
List go modules found in `mod.sum` including modules that do not end up in vendor directory
See merge request gitlab-org/security-products/license-management!161
Diffstat (limited to 'spec/fixtures/expected/go/modules/v1.0.json')
| -rw-r--r-- | spec/fixtures/expected/go/modules/v1.0.json | 61 |
1 files changed, 58 insertions, 3 deletions
diff --git a/spec/fixtures/expected/go/modules/v1.0.json b/spec/fixtures/expected/go/modules/v1.0.json index 83fdbdd..1433dbf 100644 --- a/spec/fixtures/expected/go/modules/v1.0.json +++ b/spec/fixtures/expected/go/modules/v1.0.json @@ -1,25 +1,42 @@ { "licenses": [ { - "count": 3, + "count": 5, "name": "MIT" }, { + "count": 2, + "name": "unknown" + }, + { "count": 1, "name": "ISC" }, { "count": 1, - "name": "New BSD" + "name": "MIT, Apache 2.0" }, { "count": 1, - "name": "unknown" + "name": "New BSD" } ], "dependencies": [ { "license": { + "name": "MIT", + "url": "http://opensource.org/licenses/mit-license" + }, + "dependency": { + "name": "github.com/astaxie/beego", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { "name": "ISC", "url": "http://en.wikipedia.org/wiki/ISC_license" }, @@ -75,6 +92,19 @@ "url": "http://opensource.org/licenses/mit-license" }, "dependency": { + "name": "github.com/stretchr/objx", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "MIT", + "url": "http://opensource.org/licenses/mit-license" + }, + "dependency": { "name": "github.com/stretchr/testify", "description": "", "pathes": [ @@ -94,6 +124,31 @@ "." ] } + }, + { + "license": { + "name": "unknown" + }, + "dependency": { + "name": "gopkg.in/check.v1", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "MIT, Apache 2.0", + "url": "http://opensource.org/licenses/mit-license" + }, + "dependency": { + "name": "gopkg.in/yaml.v2", + "description": "", + "pathes": [ + "." + ] + } } ] }
\ No newline at end of file |
