diff options
author | Ian Ling <ian@iancaling.com> | 2022-04-08 08:52:57 -0700 |
---|---|---|
committer | Ian Ling <ian@iancaling.com> | 2022-04-25 15:00:47 -0700 |
commit | 460cf54ece7eba418c50407ee35544c5d63588a7 (patch) | |
tree | 07ec7aaf51a92a1ae209e540f45241f990561919 /examples/7-rdfloader | |
parent | fa24fac85dd550a3f815896241081a1246810d2c (diff) | |
download | spdx-tools-460cf54ece7eba418c50407ee35544c5d63588a7.tar.gz |
Overhaul structs, refactor JSON parser and saver
Signed-off-by: Ian Ling <ian@iancaling.com>
Diffstat (limited to 'examples/7-rdfloader')
-rw-r--r-- | examples/7-rdfloader/exampleRDFLoader.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/7-rdfloader/exampleRDFLoader.go b/examples/7-rdfloader/exampleRDFLoader.go index 4eae8c9..5258ac2 100644 --- a/examples/7-rdfloader/exampleRDFLoader.go +++ b/examples/7-rdfloader/exampleRDFLoader.go @@ -40,9 +40,9 @@ func main() { // Printing some of the document Information fmt.Println(strings.Repeat("=", 80)) fmt.Println("Some Attributes of the Document:") - fmt.Printf("Document Name: %s\n", doc.CreationInfo.DocumentName) - fmt.Printf("DataLicense: %s\n", doc.CreationInfo.DataLicense) - fmt.Printf("Document Namespace: %s\n", doc.CreationInfo.DocumentNamespace) - fmt.Printf("SPDX Version: %s\n", doc.CreationInfo.SPDXVersion) + fmt.Printf("Document Name: %s\n", doc.DocumentName) + fmt.Printf("DataLicense: %s\n", doc.DataLicense) + fmt.Printf("Document Namespace: %s\n", doc.DocumentNamespace) + fmt.Printf("SPDX Version: %s\n", doc.SPDXVersion) fmt.Println(strings.Repeat("=", 80)) } |