feat: add full text to license field

Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
Christopher Phillips 2024-08-16 13:56:16 -04:00
parent 4ff60ee837
commit c482714674
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -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"`

View file

@ -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 (