diff options
author | Justin Chadwell <me@jedevc.com> | 2022-12-05 12:15:15 +0000 |
---|---|---|
committer | Justin Chadwell <me@jedevc.com> | 2022-12-05 12:15:15 +0000 |
commit | 6fe9d226281a9ea9947f44aa6e03fe9c589a8a42 (patch) | |
tree | 6ca2cccf32b36381ac1de45236c37d2ef1a7b4cc /spdx/v2_1/file.go | |
parent | 452903873695a5a58db4e61e41ffa5c5463f2334 (diff) | |
download | spdx-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.go | 2 |
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 |