aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalinStratu <catalinstratu45@gmail.com>2022-05-04 17:32:20 +0300
committerCatalinStratu <catalinstratu45@gmail.com>2022-05-05 09:38:41 +0300
commitb9aecfb8165322e061a1a31260b3ef9199cbebd4 (patch)
tree6a8c6ba6fe5330521db5e0e4379248380f5bf0d5
parentb29c4a9cacb9c2f1026beb330fcb6d9db8c453ed (diff)
downloadspdx-tools-b9aecfb8165322e061a1a31260b3ef9199cbebd4.tar.gz
Add YAML and JSON documentation fixes
Signed-off-by: CatalinStratu <catalinstratu45@gmail.com>
-rw-r--r--examples/10-jsonloader/example_json_loader.go4
-rw-r--r--examples/11-yamltotv/exampleyamltotv.go2
-rw-r--r--examples/12-tvtoyaml/exampletvtoyaml.go2
-rw-r--r--examples/8-jsontotv/examplejsontotv.go2
-rw-r--r--examples/9-tvtojson/exampletvtojson.go2
5 files changed, 6 insertions, 6 deletions
diff --git a/examples/10-jsonloader/example_json_loader.go b/examples/10-jsonloader/example_json_loader.go
index 4de9561..793f10e 100644
--- a/examples/10-jsonloader/example_json_loader.go
+++ b/examples/10-jsonloader/example_json_loader.go
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
-// Example for: *jsonparser2v2*
+// Example for: *json*
// This example demonstrates loading an SPDX JSON document from disk into memory,
-// and then logging some of the attributes to the console.
+// and then logging some attributes to the console.
// Run project: go run example_json_loader.go ../sample-docs/json/SPDXJSONExample-v2.2.spdx.json
package main
diff --git a/examples/11-yamltotv/exampleyamltotv.go b/examples/11-yamltotv/exampleyamltotv.go
index 006d6d9..88f2885 100644
--- a/examples/11-yamltotv/exampleyamltotv.go
+++ b/examples/11-yamltotv/exampleyamltotv.go
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
-// Example for: *spdx_yaml*
+// Example for: *yaml*
// This example demonstrates loading an SPDX tag-value file from disk into memory,
// and re-saving it to a different file on disk.
diff --git a/examples/12-tvtoyaml/exampletvtoyaml.go b/examples/12-tvtoyaml/exampletvtoyaml.go
index f348da7..93cd2b0 100644
--- a/examples/12-tvtoyaml/exampletvtoyaml.go
+++ b/examples/12-tvtoyaml/exampletvtoyaml.go
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
-// Example for: *tvloader*, *spdx_yaml*
+// Example for: *tvloader*, *yaml*
// This example demonstrates loading an SPDX tag-value file from disk into memory,
// and re-saving it to a different json file on disk.
diff --git a/examples/8-jsontotv/examplejsontotv.go b/examples/8-jsontotv/examplejsontotv.go
index fed8439..edace80 100644
--- a/examples/8-jsontotv/examplejsontotv.go
+++ b/examples/8-jsontotv/examplejsontotv.go
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
-// Example for: *jsonparser2v2*, *tvsaver*
+// Example for: *json*, *tvsaver*
// This example demonstrates loading an SPDX json from disk into memory,
// and then re-saving it to a different file on disk in tag-value format .
diff --git a/examples/9-tvtojson/exampletvtojson.go b/examples/9-tvtojson/exampletvtojson.go
index 2aca5cf..f7b776f 100644
--- a/examples/9-tvtojson/exampletvtojson.go
+++ b/examples/9-tvtojson/exampletvtojson.go
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
-// Example for: *tvloader*, *jsonsaver*
+// Example for: *tvloader*, *json*
// This example demonstrates loading an SPDX tag-value file from disk into memory,
// and re-saving it to a different json file on disk.