Skip to content

Commit

Permalink
remove unused structs
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankie Gallina-Jones authored and sophiewigmore committed Jan 3, 2022
1 parent 5b4d81b commit 56c823a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions sbom/sbom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,6 @@ func testSBOM(t *testing.T, context spec.G, it spec.S) {
}
}

type license struct {
License struct {
Name string `json:"name"`
} `json:"license"`
}

type component struct {
Type string `json:"type"`
Name string `json:"name"`
Version string `json:"version"`
Licenses []license `json:"licenses"`
PURL string `json:"purl"`
}

var cdxOutput cdxOutput

err = json.Unmarshal(cdx.Bytes(), &cdxOutput)
Expand Down

0 comments on commit 56c823a

Please sign in to comment.