mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
feat: add full text to license field
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
4ff60ee837
commit
c482714674
2 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ type licenses []License
|
|||
type License struct {
|
||||
Value string `json:"value"`
|
||||
SPDXExpression string `json:"spdxExpression"`
|
||||
FullText string `json:",omitempty"`
|
||||
Type license.Type `json:"type"`
|
||||
URLs []string `json:"urls"`
|
||||
Locations []file.Location `json:"locations"`
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// package license provides common methods for working with SPDX license data
|
||||
// Package license provides common methods for working with SPDX license data
|
||||
package license
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in a new issue