aboutsummaryrefslogtreecommitdiff
path: root/spdx/v2_1/file.go
diff options
context:
space:
mode:
authorJustin Chadwell <me@jedevc.com>2022-12-05 12:15:15 +0000
committerJustin Chadwell <me@jedevc.com>2022-12-05 12:15:15 +0000
commit6fe9d226281a9ea9947f44aa6e03fe9c589a8a42 (patch)
tree6ca2cccf32b36381ac1de45236c37d2ef1a7b4cc /spdx/v2_1/file.go
parent452903873695a5a58db4e61e41ffa5c5463f2334 (diff)
downloadspdx-tools-6fe9d226281a9ea9947f44aa6e03fe9c589a8a42.tar.gz
json: sync exported struct tags across spdx versions
Signed-off-by: Justin Chadwell <me@jedevc.com>
Diffstat (limited to 'spdx/v2_1/file.go')
-rw-r--r--spdx/v2_1/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spdx/v2_1/file.go b/spdx/v2_1/file.go
index ffdec94..2373887 100644
--- a/spdx/v2_1/file.go
+++ b/spdx/v2_1/file.go
@@ -66,7 +66,7 @@ type File struct {
// defined here -- so this should just be an ElementID.
Snippets map[common.ElementID]*Snippet `json:"-"`
- Annotations []Annotation `json:"annotations"`
+ Annotations []Annotation `json:"annotations,omitempty"`
}
// ArtifactOfProject is a DEPRECATED collection of data regarding