aboutsummaryrefslogtreecommitdiff
path: root/examples/4-search
diff options
context:
space:
mode:
authorIan Ling <ian@iancaling.com>2022-04-08 08:52:57 -0700
committerIan Ling <ian@iancaling.com>2022-04-25 15:00:47 -0700
commit460cf54ece7eba418c50407ee35544c5d63588a7 (patch)
tree07ec7aaf51a92a1ae209e540f45241f990561919 /examples/4-search
parentfa24fac85dd550a3f815896241081a1246810d2c (diff)
downloadspdx-tools-460cf54ece7eba418c50407ee35544c5d63588a7.tar.gz
Overhaul structs, refactor JSON parser and saver
Signed-off-by: Ian Ling <ian@iancaling.com>
Diffstat (limited to 'examples/4-search')
-rw-r--r--examples/4-search/example_search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/4-search/example_search.go b/examples/4-search/example_search.go
index 3f19596..52f8b07 100644
--- a/examples/4-search/example_search.go
+++ b/examples/4-search/example_search.go
@@ -120,7 +120,7 @@ func main() {
// all file hashes and the package verification code have been filled in
// appropriately by builder.
// And, all files with "SPDX-License-Identifier:" tags have had their
- // licenses extracted into LicenseInfoInFile and LicenseConcluded for
+ // licenses extracted into LicenseInfoInFiles and LicenseConcluded for
// each file by idsearcher. The PackageLicenseInfoFromFiles field will
// also be filled in with all license identifiers.
fmt.Printf("Successfully created document and searched for IDs for package %s\n", packageName)