summaryrefslogtreecommitdiff
path: root/spec/fixtures/expected/go/modules/v2.0.json
diff options
context:
space:
mode:
authorCan Eldem <celdem@gitlab.com>2020-06-04 08:53:19 +0000
committerCan Eldem <celdem@gitlab.com>2020-06-04 08:53:19 +0000
commit834d7a4fdf3fd295386e4b12a31de81507d3a658 (patch)
treeb58db2991d16737d4942cad4b63949bc1330ba28 /spec/fixtures/expected/go/modules/v2.0.json
parenta49e935ee3e2e07d90da7c78b543a5592a3b1a4a (diff)
parentcd9cd852dac41980169f0521eb795e460994367b (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/v2.0.json')
-rw-r--r--spec/fixtures/expected/go/modules/v2.0.json65
1 files changed, 58 insertions, 7 deletions
diff --git a/spec/fixtures/expected/go/modules/v2.0.json b/spec/fixtures/expected/go/modules/v2.0.json
index b7dfe00..0e60fb8 100644
--- a/spec/fixtures/expected/go/modules/v2.0.json
+++ b/spec/fixtures/expected/go/modules/v2.0.json
@@ -5,7 +5,19 @@
"id": "MIT",
"name": "MIT License",
"url": "https://opensource.org/licenses/MIT",
- "count": 3
+ "count": 6
+ },
+ {
+ "id": "unknown",
+ "name": "unknown",
+ "url": "",
+ "count": 2
+ },
+ {
+ "id": "Apache-2.0",
+ "name": "Apache License 2.0",
+ "url": "https://opensource.org/licenses/Apache-2.0",
+ "count": 1
},
{
"id": "BSD-3-Clause",
@@ -18,16 +30,21 @@
"name": "ISC License",
"url": "https://opensource.org/licenses/ISC",
"count": 1
- },
- {
- "id": "unknown",
- "name": "unknown",
- "url": "",
- "count": 1
}
],
"dependencies": [
{
+ "name": "github.com/astaxie/beego",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "MIT"
+ ]
+ },
+ {
"name": "github.com/davecgh/go-spew",
"url": "",
"description": "",
@@ -72,6 +89,17 @@
]
},
{
+ "name": "github.com/stretchr/objx",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "MIT"
+ ]
+ },
+ {
"name": "github.com/stretchr/testify",
"url": "",
"description": "",
@@ -92,6 +120,29 @@
"licenses": [
"BSD-3-Clause"
]
+ },
+ {
+ "name": "gopkg.in/check.v1",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "unknown"
+ ]
+ },
+ {
+ "name": "gopkg.in/yaml.v2",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "Apache-2.0",
+ "MIT"
+ ]
}
]
} \ No newline at end of file